Uses of Class
org.glassfish.grizzly.http.server.Response
Packages that use Response
Package
Description
-
Uses of Response in org.glassfish.grizzly.http.server
Fields in org.glassfish.grizzly.http.server declared as ResponseModifier and TypeFieldDescriptionprotected final ResponseRequest.responseThe response with which this request is associated.Methods in org.glassfish.grizzly.http.server that return ResponseMethods in org.glassfish.grizzly.http.server that return types with arguments of type ResponseModifier and TypeMethodDescriptionResponse.SuspendedContextImpl.getCompletionHandler()SuspendContext.getCompletionHandler()Get the suspendedResponseCompletionHandler.Methods in org.glassfish.grizzly.http.server with parameters of type ResponseModifier and TypeMethodDescriptionprotected static voidStaticHttpHandlerBase.addCachingHeaders(Response response, File file) final booleanStaticHttpHandlerBase.addToFileCache(Request req, Response res, File resource) protected booleanLookup a resource based on the request URI, and process it.protected booleanLookup a resource based on the request URI, and process it.protected abstract booleanLookup a resource based on the request URI, and process it.protected voidStaticHttpHandlerBase.onMissingResource(Request request, Response response) The method will be called, if the static resource requested by theRequestwasn't found, soStaticHttpHandlerimplementation may try to workaround this situation.voidHttpServerProbe.Adapter.onRequestCompleteEvent(HttpServerFilter filter, Connection connection, Response response) Method will be called, whenRequestprocessing will be completed.voidHttpServerProbe.onRequestCompleteEvent(HttpServerFilter filter, Connection connection, Response response) Method will be called, whenRequestprocessing will be completed.booleanMethod is called, when suspendedResponsetimeout expired.protected voidHttpServerFilter.onTraceRequest(Request request, Response response) protected static voidStaticHttpHandlerBase.pickupContentType(Response response, String path) protected booleanHttpHandler.sendAcknowledgment(Request request, Response response) The default implementation will acknowledge anExpect: 100-Continuewith a response line with the status 100 followed by the final response to this request.static voidabstract voidThis method should contain the logic for any HTTP extension to the Grizzly HTTP web server.voidMap theRequestto the properHttpHandlervoidBased on theRequestURI, try to map the file from the#getDocRoots(), and send it back to a client.Method parameters in org.glassfish.grizzly.http.server with type arguments of type ResponseModifier and TypeMethodDescriptionvoidResponse.suspend(long timeout, TimeUnit timeunit, CompletionHandler<Response> completionHandler) Suspend theResponse.voidResponse.suspend(long timeout, TimeUnit timeunit, CompletionHandler<Response> completionHandler, TimeoutHandler timeoutHandler) Suspend theResponse.Constructors in org.glassfish.grizzly.http.server with parameters of type Response -
Uses of Response in org.glassfish.grizzly.http.server.accesslog
Methods in org.glassfish.grizzly.http.server.accesslog with parameters of type ResponseModifier and TypeMethodDescriptionvoidAccessLogProbe.onRequestCompleteEvent(HttpServerFilter filter, Connection connection, Response response) Receive notification of the completion of aResponsean possibly trigger an access log entry generation. -
Uses of Response in org.glassfish.grizzly.http.server.io
Methods in org.glassfish.grizzly.http.server.io with parameters of type ResponseModifier and TypeMethodDescriptionvoidServerOutputBuffer.initialize(Response response, FilterChainContext ctx) -
Uses of Response in org.glassfish.grizzly.http.server.util
Methods in org.glassfish.grizzly.http.server.util with parameters of type ResponseModifier and TypeMethodDescriptionstatic voidHtmlHelper.sendErrorPage(Request request, Response response, ErrorPageGenerator generator, int status, String reasonPhrase, String description, Throwable exception) Generate and send an error page for the given HTTP response status.static voidHtmlHelper.setErrorAndSendErrorPage(Request request, Response response, ErrorPageGenerator generator, int status, String reasonPhrase, String description, Throwable exception) Generate and send an error page for the given HTTP response status.static voidHtmlHelper.writeTraceMessage(Request request, Response response) -
Uses of Response in org.glassfish.grizzly.servlet
Fields in org.glassfish.grizzly.servlet declared as ResponseModifier and TypeFieldDescriptionprotected ResponseHttpServletResponseImpl.responseThe wrapped response.Methods in org.glassfish.grizzly.servlet that return ResponseModifier and TypeMethodDescriptionHolders.ResponseHolder.getInternalResponse()Returns internal GrizzlyResponseassociated with this Holder.HttpServletResponseImpl.getInternalResponse()Returns internal GrizzlyResponseassociated with this Holder.static ResponseServletUtils.getInternalResponse(HttpServletResponse servletResponse) Returns internal GrizzlyResponseassociated with the passedHttpServletResponse.HttpServletResponseImpl.getResponse()Methods in org.glassfish.grizzly.servlet with parameters of type ResponseModifier and TypeMethodDescriptionvoidServletHandler.customizeErrorPage(Response response, String message, int errorCode, Throwable t) Customize the error page returned to the client.protected voidServletHandler.doServletService(Request request, Response response) voidHttpServletResponseImpl.initialize(Response response, HttpServletRequestImpl servletRequest) protected booleanServletHandler.sendAcknowledgment(Request request, Response response) Override parent'sHttpHandler.sendAcknowledgment(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response)to letExpectationHandler(if one is registered) process the expectation.voidThis method should contain the logic for any HTTP extension to the Grizzly HTTP web server.