| Package | Description |
|---|---|
| org.glassfish.grizzly.http.server |
| Modifier and Type | Class and Description |
|---|---|
class |
CLStaticHttpHandler
HttpHandler, which processes requests to a static resources resolved
by a given ClassLoader. |
class |
HttpHandlerChain
The HttpHandlerChain class allows the invocation of multiple
HttpHandlers
every time a new HTTP request is ready to be handled. |
class |
StaticHttpHandler
HttpHandler, which processes requests to a static resources. |
class |
StaticHttpHandlerBase
The basic class for
HttpHandler implementations,
which processes requests to a static resources. |
| Modifier and Type | Method and Description |
|---|---|
HttpHandler |
HttpServerFilter.getHttpHandler() |
HttpHandler |
HttpServer.getHttpHandler() |
| Modifier and Type | Method and Description |
|---|---|
Map<HttpHandler,String[]> |
ServerConfiguration.getHttpHandlers()
Deprecated.
please use
#getHttpHandlersMap() |
Map<HttpHandler,HttpHandlerRegistration[]> |
ServerConfiguration.getHttpHandlersWithMapping()
Returns the
HttpHandler map. |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpHandlerChain.addHandler(HttpHandler httpHandler,
HttpHandlerRegistration[] mappings)
Add a
HttpHandler and its associated array of mapping. |
void |
HttpHandlerChain.addHandler(HttpHandler httpHandler,
String[] mappings)
Add a
HttpHandler and its associated array of mapping. |
void |
ServerConfiguration.addHttpHandler(HttpHandler httpHandler)
Adds the specified
HttpHandler as a root handler. |
void |
ServerConfiguration.addHttpHandler(HttpHandler httpHandler,
HttpHandlerRegistration... mapping)
Adds the specified
HttpHandler
with its associated mapping(s). |
void |
ServerConfiguration.addHttpHandler(HttpHandler httpHandler,
String... mappings)
Adds the specified
HttpHandler
with its associated mapping(s). |
void |
HttpServerProbe.onBeforeServiceEvent(HttpServerFilter filter,
Connection connection,
Request request,
HttpHandler httpHandler)
Method will be called, before invoking
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
service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response). |
boolean |
ServerConfiguration.removeHttpHandler(HttpHandler httpHandler)
Removes the specified
HttpHandler. |
boolean |
HttpHandlerChain.removeHttpHandler(HttpHandler httpHandler)
Remove a
HttpHandler |
void |
HttpServerFilter.setHttpHandler(HttpHandler httpHandler) |
Copyright © 2014 Oracle Corporation. All Rights Reserved.