boolean |
StaticHttpHandlerBase.addToFileCache(Request req,
Response res,
File resource) |
|
static StringBuffer |
Request.appendRequestURL(Request request,
StringBuffer buffer) |
Appends the reconstructed URL the client used to make the request.
|
static StringBuilder |
Request.appendRequestURL(Request request,
StringBuilder buffer) |
Appends the reconstructed URL the client used to make the request.
|
String |
DefaultSessionManager.changeSessionId(Request request,
Session session) |
|
String |
SessionManager.changeSessionId(Request request,
Session session) |
Change the Session id and return the original id.
|
void |
DefaultSessionManager.configureSessionCookie(Request request,
org.glassfish.grizzly.http.Cookie cookie) |
|
void |
SessionManager.configureSessionCookie(Request request,
org.glassfish.grizzly.http.Cookie cookie) |
|
Session |
DefaultSessionManager.createSession(Request request) |
|
Session |
SessionManager.createSession(Request request) |
|
String |
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.
|
String |
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 ErrorPageGenerator |
HttpHandler.getErrorPageGenerator(Request request) |
|
Executor |
RequestExecutorProvider.getExecutor(Request request) |
Returns the Executor to execute user's code associated with the Request processing.
|
Executor |
RequestExecutorProvider.SameThreadProvider.getExecutor(Request request) |
|
Executor |
RequestExecutorProvider.WorkerThreadProvider.getExecutor(Request request) |
|
protected String |
StaticHttpHandlerBase.getRelativeURI(Request request) |
|
Session |
DefaultSessionManager.getSession(Request request,
String requestedSessionId) |
|
Session |
SessionManager.getSession(Request request,
String requestedSessionId) |
Return the session associated with this Request, creating one if necessary and requested.
|
protected SessionManager |
HttpHandler.getSessionManager(Request request) |
|
protected boolean |
CLStaticHttpHandler.handle(String resourcePath,
Request request,
Response response) |
Lookup a resource based on the request URI, and process it.
|
protected boolean |
StaticHttpHandler.handle(String uri,
Request request,
Response response) |
Lookup a resource based on the request URI, and process it.
|
protected abstract boolean |
StaticHttpHandlerBase.handle(String uri,
Request request,
Response response) |
Lookup a resource based on the request URI, and process it.
|
void |
Response.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) |
|
void |
AfterServiceListener.onAfterService(Request request) |
The method will be called once the Request processing will be completed.
|
void |
HttpServerProbe.Adapter.onBeforeServiceEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request,
HttpHandler httpHandler) |
|
void |
HttpServerProbe.onBeforeServiceEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request,
HttpHandler httpHandler) |
|
protected void |
StaticHttpHandlerBase.onMissingResource(Request request,
Response response) |
The method will be called, if the static resource requested by the Request wasn't found, so
StaticHttpHandler implementation may try to workaround this situation.
|
void |
HttpServerProbe.Adapter.onRequestCancelEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request) |
|
void |
HttpServerProbe.onRequestCancelEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request) |
Method will be called, when Request processing is cancelled after suspend.
|
void |
HttpServerProbe.Adapter.onRequestReceiveEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request) |
Method will be called, when new Request will come.
|
void |
HttpServerProbe.onRequestReceiveEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request) |
Method will be called, when new Request will come.
|
void |
HttpServerProbe.Adapter.onRequestResumeEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request) |
Method will be called, when Request processing is resumed.
|
void |
HttpServerProbe.onRequestResumeEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request) |
Method will be called, when Request processing is resumed.
|
void |
HttpServerProbe.Adapter.onRequestSuspendEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request) |
Method will be called, when Request processing is suspended.
|
void |
HttpServerProbe.onRequestSuspendEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request) |
Method will be called, when Request processing is suspended.
|
void |
HttpServerProbe.Adapter.onRequestTimeoutEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request) |
Method will be called, when Request processing is timeout after suspend.
|
void |
HttpServerProbe.onRequestTimeoutEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request) |
Method will be called, when Request processing is timeout after suspend.
|
protected void |
HttpServerFilter.onTraceRequest(Request request,
Response response) |
|
String |
Request.PathResolver.resolve(Request request) |
|
protected boolean |
HttpHandler.sendAcknowledgment(Request request,
Response response) |
The default implementation will acknowledge an Expect: 100-Continue with a response line with the status
100 followed by the final response to this request.
|
abstract void |
HttpHandler.service(Request request,
Response response) |
This method should contain the logic for any HTTP extension to the Grizzly HTTP web server.
|
void |
HttpHandlerChain.service(Request request,
Response response) |
|
void |
StaticHttpHandlerBase.service(Request request,
Response response) |
Based on the Request URI, try to map the file from the #getDocRoots(), and send it back to a client.
|
protected static void |
HttpHandler.updatePaths(Request request,
MappingData mappingData) |
Utility method to update Request path values.
|