Modifier and Type | Method and Description |
---|---|
Response |
CometHandler.getResponse() |
Response |
DefaultCometHandler.getResponse() |
Modifier and Type | Method and Description |
---|---|
void |
CometHandler.setResponse(Response response) |
void |
DefaultCometHandler.setResponse(Response response) |
Constructor and Description |
---|
DefaultCometHandler(CometContext<E> cometContext,
Response response) |
Modifier and Type | Method and Description |
---|---|
Response |
DefaultConcurrentCometHandler.getResponse() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultConcurrentCometHandler.setResponse(Response response) |
Constructor and Description |
---|
DefaultConcurrentCometHandler(CometContext<E> context,
Response response) |
Modifier and Type | Field and Description |
---|---|
protected Response |
Request.response
The response with which this request is associated.
|
Modifier and Type | Method and Description |
---|---|
Response |
Request.getResponse() |
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 |
---|---|
protected static void |
StaticHttpHandlerBase.addCachingHeaders(Response response,
File file) |
boolean |
StaticHttpHandlerBase.addToFileCache(Request req,
Response res,
File resource) |
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 abstract boolean |
StaticHttpHandlerBase.handle(String uri,
Request request,
Response response)
Lookup a resource based on the request URI, and send it using send file.
|
protected boolean |
CLStaticHttpHandler.handle(String resourcePath,
Request request,
Response response)
Lookup a resource based on the request URI, and send it using send file.
|
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.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 static void |
StaticHttpHandlerBase.pickupContentType(Response response,
String path) |
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 |
StaticHttpHandlerBase.sendFile(Response response,
File file) |
void |
HttpHandlerChain.service(Request request,
Response response)
Map the
Request to the proper HttpHandler |
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. |
abstract void |
HttpHandler.service(Request request,
Response response)
This method should contain the logic for any HTTP extension to the
Grizzly HTTP web server.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
String |
ApacheLogFormat.format(Response response,
Date timeStamp,
long responseNanos) |
String |
AccessLogFormat.format(Response response,
Date timeStamp,
long responseNanos)
|
void |
AccessLogProbe.onRequestCompleteEvent(HttpServerFilter filter,
Connection connection,
Response response)
Receive notification of the completion of a
Response an possibly
trigger an access log entry generation. |
Modifier and Type | Method and Description |
---|---|
void |
ServerOutputBuffer.initialize(Response response,
FilterChainContext ctx) |
Modifier and Type | Method and Description |
---|---|
static void |
HtmlHelper.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 void |
HtmlHelper.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 void |
HtmlHelper.writeTraceMessage(Request request,
Response response) |
Modifier and Type | Method and Description |
---|---|
void |
JaxwsHandler.service(Request req,
Response res)
Main entry point of the
HttpHandler to service a request |
Modifier and Type | Method and Description |
---|---|
void |
AjpHelloWorld.HelloWorldHandler.service(Request request,
Response response) |
Modifier and Type | Method and Description |
---|---|
void |
FormHttpHandler.service(Request request,
Response response) |
void |
UploaderHttpHandler.service(Request request,
Response response)
Service HTTP request.
|
Modifier and Type | Method and Description |
---|---|
void |
HighPriorityHandler.service(Request request,
Response response) |
void |
LowPriorityHandler.service(Request request,
Response response) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleHttpHandler.service(Request request,
Response response) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleHttpHandler.service(Request request,
Response response) |
Modifier and Type | Method and Description |
---|---|
void |
SmileysHandler.service(Request request,
Response response)
This method should contain the logic for any HTTP extension to the
Grizzly HTTP web server.
|
Modifier and Type | Field and Description |
---|---|
protected Response |
HttpServletResponseImpl.response
The wrapped response.
|
Modifier and Type | Method and Description |
---|---|
Response |
Holders.ResponseHolder.getInternalResponse()
Returns internal Grizzly
Response associated with this Holder. |
Response |
HttpServletResponseImpl.getInternalResponse()
Returns internal Grizzly
Response associated with this Holder. |
static Response |
ServletUtils.getInternalResponse(javax.servlet.http.HttpServletResponse servletResponse)
Returns internal Grizzly
Response associated with the passed
HttpServletResponse . |
Response |
HttpServletResponseImpl.getResponse() |
Modifier and Type | Method and Description |
---|---|
void |
ServletHandler.customizeErrorPage(Response response,
String message,
int errorCode,
Throwable t)
Customize the error page returned to the client.
|
protected void |
ServletHandler.doServletService(Request request,
Response response) |
void |
HttpServletResponseImpl.initialize(Response response,
HttpServletRequestImpl servletRequest) |
protected boolean |
ServletHandler.sendAcknowledgment(Request request,
Response response)
Override parent's
HttpHandler.sendAcknowledgment(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response)
to let ExpectationHandler (if one is registered) process the expectation. |
void |
ServletHandler.service(Request request,
Response response)
This method should contain the logic for any HTTP extension to the
Grizzly HTTP web server.
|
Copyright © 2015 Oracle Corporation. All rights reserved.