boolean |
StaticHttpHandlerBase.addToFileCache(Request req,
Response res,
java.io.File resource) |
|
static java.lang.StringBuffer |
Request.appendRequestURL(Request request,
java.lang.StringBuffer buffer) |
Appends the reconstructed URL the client used to make the request.
|
static java.lang.StringBuilder |
Request.appendRequestURL(Request request,
java.lang.StringBuilder buffer) |
Appends the reconstructed URL the client used to make the request.
|
java.lang.String |
DefaultSessionManager.changeSessionId(Request request,
Session session) |
|
java.lang.String |
SessionManager.changeSessionId(Request request,
Session session) |
Change the Session id and return the original id.
|
void |
DefaultSessionManager.configureSessionCookie(Request request,
Cookie cookie) |
|
void |
SessionManager.configureSessionCookie(Request request,
Cookie cookie) |
|
Session |
DefaultSessionManager.createSession(Request request) |
|
Session |
SessionManager.createSession(Request request) |
|
java.lang.String |
DefaultErrorPageGenerator.generate(Request request,
int status,
java.lang.String reasonPhrase,
java.lang.String description,
java.lang.Throwable exception) |
Returns the HTML representation of the error page corresponding to the given HTTP response status.
|
java.lang.String |
ErrorPageGenerator.generate(Request request,
int status,
java.lang.String reasonPhrase,
java.lang.String description,
java.lang.Throwable exception) |
Returns the HTML representation of the error page corresponding to the given HTTP response status.
|
protected ErrorPageGenerator |
HttpHandler.getErrorPageGenerator(Request request) |
|
java.util.concurrent.Executor |
RequestExecutorProvider.getExecutor(Request request) |
Returns the Executor to execute user's code associated with the Request processing.
|
java.util.concurrent.Executor |
RequestExecutorProvider.SameThreadProvider.getExecutor(Request request) |
|
java.util.concurrent.Executor |
RequestExecutorProvider.WorkerThreadProvider.getExecutor(Request request) |
|
protected java.lang.String |
StaticHttpHandlerBase.getRelativeURI(Request request) |
|
Session |
DefaultSessionManager.getSession(Request request,
java.lang.String requestedSessionId) |
|
Session |
SessionManager.getSession(Request request,
java.lang.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(java.lang.String resourcePath,
Request request,
Response response) |
Lookup a resource based on the request URI, and process it.
|
protected boolean |
StaticHttpHandler.handle(java.lang.String uri,
Request request,
Response response) |
Lookup a resource based on the request URI, and process it.
|
protected abstract boolean |
StaticHttpHandlerBase.handle(java.lang.String uri,
Request request,
Response response) |
Lookup a resource based on the request URI, and process it.
|
void |
Response.initialize(Request request,
HttpResponsePacket response,
FilterChainContext ctx,
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,
Connection connection,
Request request,
HttpHandler httpHandler) |
|
void |
HttpServerProbe.onBeforeServiceEvent(HttpServerFilter filter,
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,
Connection connection,
Request request) |
|
void |
HttpServerProbe.onRequestCancelEvent(HttpServerFilter filter,
Connection connection,
Request request) |
Method will be called, when Request processing is cancelled after suspend.
|
void |
HttpServerProbe.Adapter.onRequestReceiveEvent(HttpServerFilter filter,
Connection connection,
Request request) |
Method will be called, when new Request will come.
|
void |
HttpServerProbe.onRequestReceiveEvent(HttpServerFilter filter,
Connection connection,
Request request) |
Method will be called, when new Request will come.
|
void |
HttpServerProbe.Adapter.onRequestResumeEvent(HttpServerFilter filter,
Connection connection,
Request request) |
Method will be called, when Request processing is resumed.
|
void |
HttpServerProbe.onRequestResumeEvent(HttpServerFilter filter,
Connection connection,
Request request) |
Method will be called, when Request processing is resumed.
|
void |
HttpServerProbe.Adapter.onRequestSuspendEvent(HttpServerFilter filter,
Connection connection,
Request request) |
Method will be called, when Request processing is suspended.
|
void |
HttpServerProbe.onRequestSuspendEvent(HttpServerFilter filter,
Connection connection,
Request request) |
Method will be called, when Request processing is suspended.
|
void |
HttpServerProbe.Adapter.onRequestTimeoutEvent(HttpServerFilter filter,
Connection connection,
Request request) |
Method will be called, when Request processing is timeout after suspend.
|
void |
HttpServerProbe.onRequestTimeoutEvent(HttpServerFilter filter,
Connection connection,
Request request) |
Method will be called, when Request processing is timeout after suspend.
|
protected void |
HttpServerFilter.onTraceRequest(Request request,
Response response) |
|
java.lang.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.
|