Uses of Class
org.glassfish.grizzly.http.server.Request
Packages that use Request
Package
Description
-
Uses of Request in org.glassfish.grizzly.http.server
Fields in org.glassfish.grizzly.http.server declared as RequestModifier and TypeFieldDescriptionprotected RequestResponse.requestThe request with which this response is associated.Methods in org.glassfish.grizzly.http.server that return RequestModifier and TypeMethodDescriptionstatic RequestRequest.create()Response.getRequest()Return the Request with which this Response is associated.Methods in org.glassfish.grizzly.http.server with parameters of type RequestModifier and TypeMethodDescriptionfinal booleanStaticHttpHandlerBase.addToFileCache(Request req, Response res, File resource) static StringBufferRequest.appendRequestURL(Request request, StringBuffer buffer) Appends the reconstructed URL the client used to make the request.static StringBuilderRequest.appendRequestURL(Request request, StringBuilder buffer) Appends the reconstructed URL the client used to make the request.DefaultSessionManager.changeSessionId(Request request, Session session) SessionManager.changeSessionId(Request request, Session session) Change theSessionid and return the original id.voidDefaultSessionManager.configureSessionCookie(Request request, org.glassfish.grizzly.http.Cookie cookie) voidSessionManager.configureSessionCookie(Request request, org.glassfish.grizzly.http.Cookie cookie) Configure session cookie before adding it to thegetResponse().DefaultSessionManager.createSession(Request request) SessionManager.createSession(Request request) DefaultErrorPageGenerator.generate(Request request, int status, String reasonPhrase, String description, Throwable exception) Returns the HTML representation of the error page corresponding to the given HTTP response status.ErrorPageGenerator.generate(Request request, int status, String reasonPhrase, String description, Throwable exception) Returns the HTML representation of the error page corresponding to the given HTTP response status.protected ErrorPageGeneratorHttpHandler.getErrorPageGenerator(Request request) Returns theErrorPageGenerator, that might be used (if an error occurs) duringRequestprocessing.RequestExecutorProvider.getExecutor(Request request) RequestExecutorProvider.SameThreadProvider.getExecutor(Request request) RequestExecutorProvider.WorkerThreadProvider.getExecutor(Request request) protected StringStaticHttpHandlerBase.getRelativeURI(Request request) DefaultSessionManager.getSession(Request request, String requestedSessionId) SessionManager.getSession(Request request, String requestedSessionId) Return the session associated with this Request, creating one if necessary and requested.protected SessionManagerHttpHandler.getSessionManager(Request request) 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.voidResponse.initialize(Request request, org.glassfish.grizzly.http.HttpResponsePacket response, org.glassfish.grizzly.filterchain.FilterChainContext ctx, org.glassfish.grizzly.utils.DelayedExecutor.DelayQueue<Response.SuspendTimeout> delayQueue, HttpServerFilter serverFilter) voidAfterServiceListener.onAfterService(Request request) The method will be called once theRequestprocessing will be completed.voidHttpServerProbe.Adapter.onBeforeServiceEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request, HttpHandler httpHandler) Method will be called, before invokingHttpHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response).voidHttpServerProbe.onBeforeServiceEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request, HttpHandler httpHandler) Method will be called, before invokingHttpHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response).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.onRequestCancelEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request) voidHttpServerProbe.onRequestCancelEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request) Method will be called, whenRequestprocessing is cancelled after suspend.voidHttpServerProbe.Adapter.onRequestReceiveEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request) Method will be called, when newRequestwill come.voidHttpServerProbe.onRequestReceiveEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request) Method will be called, when newRequestwill come.voidHttpServerProbe.Adapter.onRequestResumeEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request) Method will be called, whenRequestprocessing is resumed.voidHttpServerProbe.onRequestResumeEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request) Method will be called, whenRequestprocessing is resumed.voidHttpServerProbe.Adapter.onRequestSuspendEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request) Method will be called, whenRequestprocessing is suspended.voidHttpServerProbe.onRequestSuspendEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request) Method will be called, whenRequestprocessing is suspended.voidHttpServerProbe.Adapter.onRequestTimeoutEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request) Method will be called, whenRequestprocessing is timeout after suspend.voidHttpServerProbe.onRequestTimeoutEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request) Method will be called, whenRequestprocessing is timeout after suspend.protected voidHttpServerFilter.onTraceRequest(Request request, Response response) 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.abstract 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.protected static voidHttpHandler.updatePaths(Request request, MappingData mappingData) Utility method to updateRequestpath values. -
Uses of Request in org.glassfish.grizzly.http.server.accesslog
Methods in org.glassfish.grizzly.http.server.accesslog with parameters of type RequestModifier and TypeMethodDescriptionvoidAccessLogProbe.onRequestReceiveEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request) Instrument the specifiedRequestwith an attribute marking its received time (in nanoseconds). -
Uses of Request in org.glassfish.grizzly.http.server.http2
Constructors in org.glassfish.grizzly.http.server.http2 with parameters of type Request -
Uses of Request in org.glassfish.grizzly.http.server.io
Methods in org.glassfish.grizzly.http.server.io with parameters of type RequestModifier and TypeMethodDescriptionvoidServerInputBuffer.initialize(Request serverRequest, org.glassfish.grizzly.filterchain.FilterChainContext ctx) -
Uses of Request in org.glassfish.grizzly.http.server.util
Methods in org.glassfish.grizzly.http.server.util with parameters of type RequestModifier and TypeMethodDescriptionstatic voidRequestUtils.handleSendFile(Request request) static ObjectRequestUtils.populateCertificateAttribute(Request request) static voidRequestUtils.populateSSLAttributes(Request request) static 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)