StandardHost container implementation.
USAGE CONSTRAINT: This implementation is likely to be useful only when processing HTTP requests.
| Modifier and Type | Field and Description |
|---|---|
| private static final Log | |
| private static final ClassLoader | |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public void | invoke(Request
Request to be processed request, Response Response to be produced response)Implements org. Select the appropriate child Context to process this request, based on the specified request URI. |
| private void | |
| protected void | throwable(Request
The request being processed request, Response The response being generated response, Throwable The exception that occurred (which possibly wraps a root cause exception throwable)Handle the specified Throwable encountered while processing the specified Request to produce the specified Response. |
| log | back to summary |
|---|---|
| private static final Log log | |
| MY_CLASSLOADER | back to summary |
|---|---|
| private static final ClassLoader MY_CLASSLOADER | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| StandardHostValve | back to summary |
|---|---|
| pack-priv StandardHostValve() | |
| custom | back to summary |
|---|---|
| private boolean custom(Request request, Response response, ErrorPage errorPage) Handle an HTTP status code or Java exception by forwarding control to the location included in the specified
errorPage object. It is assumed that the caller has already recorded any request attributes that are to be
forwarded to this page. Return | |
| invoke | back to summary |
|---|---|
| public void invoke(Request request, Response response) throws IOException, ServletException Implements org. Select the appropriate child Context to process this request, based on the specified request URI. If no matching Context can be found, return an appropriate HTTP error.
| |
| status | back to summary |
|---|---|
| private void status(Request request, Response response) Handle the HTTP status code (and corresponding message) generated while processing the specified Request to produce the specified Response. Any exceptions that occur during generation of the error report are logged and swallowed. | |
| throwable | back to summary |
|---|---|
| protected void throwable(Request request, Response response, Throwable throwable) Handle the specified Throwable encountered while processing the specified Request to produce the specified Response. Any exceptions that occur during generation of the exception report are logged and swallowed.
| |