LOGGER.log(Level.FINE,"Received a GET request at "+req.getRequestURL());
if(PREVIEWS_ALLOW_GET){
returndoPreviewDescription(text);
}
returnhtml(405,"This endpoint now requires that POST requests are sent. Update the component implementing this preview feature.",Collections.emptyMap());
}
/**
* Returns a basic HTML response with the provided status and additional headers set