| Package | Description |
|---|---|
| org.glassfish.grizzly.http.server | |
| org.glassfish.grizzly.http.server.io | |
| org.glassfish.grizzly.http.server.util |
| Modifier and Type | Field and Description |
|---|---|
protected Response |
Request.response
The response with which this request is associated.
|
| Modifier and Type | Field and Description |
|---|---|
protected DelayedExecutor.DelayQueue<Response> |
Response.delayQueue |
| Modifier and Type | Method and Description |
|---|---|
static Response |
Response.getCurrent() |
Response |
Request.getResponse()
Return the Response with which this Request is associated.
|
| Modifier and Type | Method and Description |
|---|---|
CompletionHandler<Response> |
SuspendContext.getCompletionHandler()
Get the suspended
Response CompletionHandler. |
CompletionHandler<Response> |
Response.SuspendedContextImpl.getCompletionHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
StaticHttpHandler.addToFileCache(Request req,
Response res,
File resource) |
protected void |
HttpHandler.customizedErrorPage(Request req,
Response res)
Customize the error page.
|
void |
HttpHandler.doHandle(Request request,
Response response)
|
protected boolean |
StaticHttpHandler.handle(String uri,
Request request,
Response response)
Lookup a resource based on the request URI, and send it using send file.
|
protected void |
StaticHttpHandler.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.onRequestCompleteEvent(HttpServerFilter filter,
Connection connection,
Response response)
Method will be called, when
Request processing will be completed. |
void |
HttpServerProbe.Adapter.onRequestCompleteEvent(HttpServerFilter filter,
Connection connection,
Response response)
Method will be called, when
Request processing will be completed. |
boolean |
TimeoutHandler.onTimeout(Response response)
Method is called, when suspended
Response timeout expired. |
protected void |
HttpServerFilter.onTraceRequest(Request request,
Response response) |
protected boolean |
HttpHandlerChain.sendAcknowledgment(Request request,
Response response)
Skip 100-Continue processing in HttpHandlerChain.
|
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. |
static void |
StaticHttpHandler.sendFile(Response response,
File file) |
void |
StaticHttpHandler.service(Request request,
Response response)
Based on the
Request URI, try to map the file from the
StaticHttpHandler.getDocRoots(), and send it back to a client. |
void |
HttpHandlerChain.service(Request request,
Response response)
Map the
Request to the proper HttpHandler |
abstract void |
HttpHandler.service(Request request,
Response response)
This method should contain the logic for any HTTP extension to the
Grizzly HTTP web server.
|
static void |
Response.setCurrent(Response response) |
| Modifier and Type | Method and Description |
|---|---|
SuspendStatus |
Response.initialize(Request request,
HttpResponsePacket response,
FilterChainContext ctx,
DelayedExecutor.DelayQueue<Response> delayQueue,
HttpServerFilter serverFilter) |
void |
Response.suspend(long timeout,
TimeUnit timeunit,
CompletionHandler<Response> completionHandler)
Suspend the
Response. |
void |
Response.suspend(long timeout,
TimeUnit timeunit,
CompletionHandler<Response> completionHandler,
TimeoutHandler timeoutHandler)
Suspend the
Response. |
| Constructor and Description |
|---|
Request(Response response) |
| Modifier and Type | Method and Description |
|---|---|
void |
OutputBuffer.initialize(Response response,
FilterChainContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
static void |
HtmlHelper.writeTraceMessage(Request request,
Response response) |
Copyright © 2013 Oracle Corporation. All Rights Reserved.