Modifier and Type | Field and Description |
---|---|
protected static ThreadLocal<Request> |
CometContext.REQUEST_LOCAL |
Modifier and Type | Method and Description |
---|---|
static void |
MultipartScanner.scan(Request request,
MultipartEntryHandler partHandler,
CompletionHandler<Request> completionHandler)
Initialize the multipart HTTP request processing.
|
Modifier and Type | Method and Description |
---|---|
static void |
MultipartScanner.scan(Request request,
MultipartEntryHandler partHandler,
CompletionHandler<Request> completionHandler)
Initialize the multipart HTTP request processing.
|
Constructor and Description |
---|
MultipartReadHandler(Request request,
MultipartEntryHandler multipartHandler,
CompletionHandler<Request> completionHandler,
MultipartContext multipartContext) |
Constructor and Description |
---|
MultipartReadHandler(Request request,
MultipartEntryHandler multipartHandler,
CompletionHandler<Request> completionHandler,
MultipartContext multipartContext) |
Modifier and Type | Field and Description |
---|---|
protected Request |
Response.request
The request with which this response is associated.
|
Modifier and Type | Method and Description |
---|---|
static Request |
Request.create() |
Request |
Response.getRequest()
Return the Request with which this Response is associated.
|
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
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.
|
protected ErrorPageGenerator |
HttpHandler.getErrorPageGenerator(Request request)
Returns the
ErrorPageGenerator , that might be used
(if an error occurs) during Request processing. |
protected String |
StaticHttpHandlerBase.getRelativeURI(Request request) |
protected ExecutorService |
HttpHandler.getThreadPool(Request request)
Returns the HttpHandler preferred
ExecutorService to process
passed Request . |
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 boolean |
CLStaticHttpHandler.handle(String resourcePath,
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.
|
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.onBeforeServiceEvent(HttpServerFilter filter,
Connection connection,
Request request,
HttpHandler httpHandler)
Method will be called, before invoking
HttpHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response) . |
void |
HttpServerProbe.Adapter.onBeforeServiceEvent(HttpServerFilter filter,
Connection connection,
Request request,
HttpHandler httpHandler)
Method will be called, before invoking
HttpHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response) . |
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.onRequestCancelEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when
Request processing is cancelled
after suspend. |
void |
HttpServerProbe.Adapter.onRequestCancelEvent(HttpServerFilter filter,
Connection connection,
Request request) |
void |
HttpServerProbe.onRequestReceiveEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when new
Request will come. |
void |
HttpServerProbe.Adapter.onRequestReceiveEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when new
Request will come. |
void |
HttpServerProbe.onRequestResumeEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when
Request processing is resumed. |
void |
HttpServerProbe.Adapter.onRequestResumeEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when
Request processing is resumed. |
void |
HttpServerProbe.onRequestSuspendEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when
Request processing is suspended. |
void |
HttpServerProbe.Adapter.onRequestSuspendEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when
Request processing is suspended. |
void |
HttpServerProbe.onRequestTimeoutEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when
Request processing is timeout
after suspend. |
void |
HttpServerProbe.Adapter.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) |
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)
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. |
protected static void |
HttpHandler.updatePaths(Request request,
MappingData mappingData)
Utility method to update
Request path values. |
Modifier and Type | Method and Description |
---|---|
static void |
RequestUtils.handleSendFile(Request request) |
static Object |
RequestUtils.populateCertificateAttribute(Request request) |
static void |
RequestUtils.populateSSLAttributes(Request request) |
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 |
---|---|
protected ExecutorService |
HighPriorityHandler.getThreadPool(Request request)
Returns the
ExecutorService to be used to
call HighPriorityHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response) . |
protected ExecutorService |
LowPriorityHandler.getThreadPool(Request request)
Returns the
ExecutorService to be used to
call LowPriorityHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response) . |
void |
HighPriorityHandler.service(Request request,
Response response) |
void |
LowPriorityHandler.service(Request request,
Response response) |
Modifier and Type | Field and Description |
---|---|
protected Request |
HttpServletRequestImpl.request
The wrapped request.
|
Modifier and Type | Method and Description |
---|---|
Request |
Holders.RequestHolder.getInternalRequest()
Returns internal Grizzly
Request associated with this Holder. |
Request |
HttpServletRequestImpl.getInternalRequest()
Returns internal Grizzly
Request associated with this Holder. |
static Request |
ServletUtils.getInternalRequest(javax.servlet.http.HttpServletRequest servletRequest)
Returns internal Grizzly
Request associated with the passed
HttpServletRequest . |
Request |
HttpServletRequestImpl.getRequest() |
Modifier and Type | Method and Description |
---|---|
org.glassfish.grizzly.servlet.FilterChainImpl |
FilterChainFactory.createFilterChain(Request request,
javax.servlet.Servlet servlet,
javax.servlet.DispatcherType dispatcherType)
Construct and return a FilterChain implementation that will wrap the
execution of the specified servlet instance.
|
protected void |
ServletHandler.doServletService(Request request,
Response response) |
protected FilterChainInvoker |
ServletHandler.getFilterChain(Request request) |
void |
HttpServletRequestImpl.initialize(Request request,
HttpServletResponseImpl servletResponse,
WebappContext context) |
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.
|
protected void |
ServletHandler.setPathData(Request from,
HttpServletRequestImpl to) |
Modifier and Type | Method and Description |
---|---|
void |
GlassfishSupport.updateUserPrincipal(Request grizzlyRequest) |
Copyright © 2014 Oracle Corporation. All rights reserved.