Uses of Class
org.apache.juneau.rest.RestResponse
Packages that use RestResponse
Package
Description
REST Server API
REST Method Argument Beans
REST Guards
HTML Widget API
- 
Uses of RestResponse in org.apache.juneau.microservice.jetty.resourcesMethods in org.apache.juneau.microservice.jetty.resources with parameters of type RestResponseModifier and TypeMethodDescriptionDebugResource.createJettyDump(RestRequest req, RestResponse res) [POST /jetty/dump] - Generates and saves the jetty thread dump file to jetty-thread-dump.log.DebugResource.getJettyDump(RestRequest req, RestResponse res) [GET /jetty/dump] - Generates and retrieves the jetty thread dump.
- 
Uses of RestResponse in org.apache.juneau.microservice.resourcesMethods in org.apache.juneau.microservice.resources with parameters of type RestResponseModifier and TypeMethodDescriptionorg.apache.juneau.microservice.resources.DirectoryResource.FileContentsDirectoryResource.downloadFile(RestResponse res, String path) org.apache.juneau.microservice.resources.LogsResource.FileContentsLogsResource.downloadFile(RestResponse res, String path) org.apache.juneau.microservice.resources.DirectoryResource.FileContentsDirectoryResource.viewFile(RestResponse res, String path) voidLogsResource.viewFile(RestResponse res, String path, boolean highlight, String start, String end, String thread, String[] loggers, String[] severity) 
- 
Uses of RestResponse in org.apache.juneau.restMethods in org.apache.juneau.rest that return RestResponseModifier and TypeMethodDescriptionAdds a response header.RestOpContext.createResponse(RestSession session, RestRequest req) Creates aRestResponseobject based on the specified incomingHttpServletResponseobject and the request returned byRestOpContext.createRequest(RestSession).RestOpSession.getResponse()Returns the REST response object for this session.RestResponse.sendPlainText(String text) Sets the output to a plain-text message regardless of the content type.RestResponse.setAttribute(String name, Object value) Shortcut for callinggetRequest().setAttribute(String,Object) .RestResponse.setContent(Object output) Sets the HTTP output on the response.RestResponse.setContentSchema(HttpPartSchema schema) Specifies the schema for the response content.RestResponse.setDebug()Shortcut for callingsetDebug( .true )Sets the"Debug" attribute to the specified boolean.RestResponse.setException(Throwable t) Sets the"Exception" attribute to the specified throwable.Sets a header on the request.Sets a response header.RestResponse.setHeader(HttpPartSchema schema, String name, Object value) Sets a header on the request.RestResponse.setMaxHeaderLength(int value) Specifies the maximum length for header values.RestResponse.setNoTrace()Shortcut for callingsetNoTrace( .true )RestResponse.setNoTrace(Boolean b) Sets the"NoTrace" attribute to the specified boolean.RestResponse.setResponseBeanMeta(ResponseBeanMeta rbm) Sets metadata about this response.RestResponse.setSafeHeaders()Enabled safe-header mode.
- 
Uses of RestResponse in org.apache.juneau.rest.argConstructor parameters in org.apache.juneau.rest.arg with type arguments of type RestResponseModifierConstructorDescriptionprotectedRestResponseArgs(ThrowingFunction<RestResponse, T> function) Constructor.
- 
Uses of RestResponse in org.apache.juneau.rest.guardMethods in org.apache.juneau.rest.guard with parameters of type RestResponseModifier and TypeMethodDescriptionbooleanRestGuard.guard(RestRequest req, RestResponse res) Checks the current HTTP request and throws aBasicHttpExceptionif the guard does not permit the request.
- 
Uses of RestResponse in org.apache.juneau.rest.servletMethods in org.apache.juneau.rest.servlet that return RestResponseModifier and TypeMethodDescriptionRestObject.getResponse()Returns the current thread-local HTTP response.RestServlet.getResponse()Returns the current thread-local HTTP response.
- 
Uses of RestResponse in org.apache.juneau.rest.widgetMethods in org.apache.juneau.rest.widget with parameters of type RestResponseModifier and TypeMethodDescriptionMenuItemWidget.getAfterShowScript(RestRequest req, RestResponse res) Optional Javascript to execute immediately after a menu item is shown.MenuItemWidget.getBeforeShowScript(RestRequest req, RestResponse res) Optional Javascript to execute immediately before a menu item is shown.ContentTypeMenuItem.getContent(RestRequest req, RestResponse res) abstract ObjectMenuItemWidget.getContent(RestRequest req, RestResponse res) The content of the popup.QueryMenuItem.getContent(RestRequest req, RestResponse res) ThemeMenuItem.getContent(RestRequest req, RestResponse res) MenuItemWidget.getHtml(RestRequest req, RestResponse res) PoweredByApache.getHtml(RestRequest req, RestResponse res) Returns an Apache image tag hyperlinked to"http://apache.org" PoweredByJuneau.getHtml(RestRequest req, RestResponse res) Returns an Apache Juneau image tag hyperlinked to"http://juneau.apache.org" Widget.getHtml(RestRequest req, RestResponse res) Resolves the HTML content for this widget.ContentTypeMenuItem.getLabel(RestRequest req, RestResponse res) abstract StringMenuItemWidget.getLabel(RestRequest req, RestResponse res) The label for the menu item as it's rendered in the menu bar.QueryMenuItem.getLabel(RestRequest req, RestResponse res) ThemeMenuItem.getLabel(RestRequest req, RestResponse res) MenuItemWidget.getScript(RestRequest req, RestResponse res) Returns the Javascript needed for the show and hide actions of the menu item.Widget.getScript(RestRequest req, RestResponse res) Resolves any Javascript that should be added to the<head>/<script> element.MenuItemWidget.getStyle(RestRequest req, RestResponse res) Defines a"menu-item" class that needs to be used on the outer element of the HTML returned by theMenuItemWidget.getHtml(RestRequest,RestResponse)method.QueryMenuItem.getStyle(RestRequest req, RestResponse res) Returns CSS for the tooltips.Widget.getStyle(RestRequest req, RestResponse res) Resolves any CSS styles that should be added to the<head>/<style> element.protected StringWidget.loadHtmlWithVars(RestRequest req, RestResponse res, String name) Same asWidget.loadHtml(RestRequest,String)but replaces request-time SVL variables.protected StringWidget.loadScriptWithVars(RestRequest req, RestResponse res, String name) Same asWidget.loadScript(RestRequest,String)but replaces request-time SVL variables.protected StringWidget.loadStyleWithVars(RestRequest req, RestResponse res, String name) Same asWidget.loadStyle(RestRequest,String)but replaces request-time SVL variables.