| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| private final Connector | connector
The CoyoteConnector with which this processor is associated. |
| private static final Log | |
| private static final String | |
| protected static final StringManager | sm
The string manager for this package. |
| private static final EnumSet |
| Access | Constructor and Description |
|---|---|
| public | CoyoteAdapter(Connector
CoyoteConnector that owns this processor connector)Construct a new CoyoteProcessor associated with the specified connector. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | asyncDispatch(Request req, Response res, SocketEvent status)
Implements org.
|
| public void | checkRecycled(Request
Request req, Response Response res)Implements org. Assert that request and response have been recycled. |
| private static boolean | |
| protected void | convertMB(MessageBytes
The MessageBytes instance containing the bytes that should be converted to chars mb)Character conversion of the a US-ASCII MessageBytes. |
| protected void | convertURI(MessageBytes
MessageBytes object containing the URI uri, Request The Servlet request object request)Character conversion of the URI. |
| protected static void | copyBytes(byte[]
The bytes that should be copied b, int Destination offset dest, int Source offset src, int Length len)Copy an array of bytes to a different position. |
| private void | |
| public String | getDomain()
Implements org. Provide the name of the domain to use to register MBeans for components associated with the connector. |
| public void | |
| public static boolean | Returns: false if normalizing this URI would require going above the root, or if the URI contains a
null byte, otherwise trueURI to be normalized uriMB, boolean true if backslash characters are allowed in URLsThis method normalizes "\", "//", "/./" and "/../". |
| protected void | parsePathParameters(Request
The Coyote request object req, Request The Servlet request object request)Extract the path parameters from the request. |
| protected void | |
| protected void | |
| protected boolean | Returns: true if the request should be passed on to the start of the container pipeline, otherwise
falseThe coyote request object req, Request The catalina request object request, Response The coyote response object res, Response The catalina response object response)Perform the necessary processing after the HTTP headers have been parsed to enable the request/response pair to be passed to the start of the container pipeline for processing. |
| public boolean | prepare(Request
The request object req, Response The response object res)Implements org. Prepare the given request/response for processing. |
| public void | service(Request
The request object req, Response The response object res)Implements org. Call the service method, and notify all listeners |
| private void |
| ADAPTER_NOTES | back to summary |
|---|---|
| public static final int ADAPTER_NOTES | |
| connector | back to summary |
|---|---|
| private final Connector connector The CoyoteConnector with which this processor is associated. | |
| log | back to summary |
|---|---|
| private static final Log log | |
| POWERED_BY | back to summary |
|---|---|
| private static final String POWERED_BY | |
| sm | back to summary |
|---|---|
| protected static final StringManager sm The string manager for this package. | |
| SSL_ONLY | back to summary |
|---|---|
| private static final EnumSet<SessionTrackingMode> SSL_ONLY | |
| CoyoteAdapter | back to summary |
|---|---|
| public CoyoteAdapter(Connector connector) Construct a new CoyoteProcessor associated with the specified connector.
| |
| asyncDispatch | back to summary |
|---|---|
| public boolean asyncDispatch(Request req, Response res, SocketEvent status) throws Exception Implements org.
| |
| checkRecycled | back to summary |
|---|---|
| public void checkRecycled(Request req, Response res) Implements org. Doc from org. Assert that request and response have been recycled. If they have not then log a warning and force a recycle. This method is called as a safety check when a processor is being recycled and may be returned to a pool for reuse. | |
| checkSuspiciousURIs | back to summary |
|---|---|
| private static boolean checkSuspiciousURIs(ByteChunk undecodedURI) | |
| convertMB | back to summary |
|---|---|
| protected void convertMB(MessageBytes mb) Character conversion of the a US-ASCII MessageBytes.
| |
| convertURI | back to summary |
|---|---|
| protected void convertURI(MessageBytes uri, Request request) throws IOException Character conversion of the URI.
| |
| copyBytes | back to summary |
|---|---|
| protected static void copyBytes(byte[] b, int dest, int src, int len) Copy an array of bytes to a different position. Used during normalization.
| |
| doConnectorAuthenticationAuthorization | back to summary |
|---|---|
| private void doConnectorAuthenticationAuthorization(Request req, Request request) | |
| getDomain | back to summary |
|---|---|
| public String getDomain() Implements org. Doc from org. Provide the name of the domain to use to register MBeans for components associated with the connector. | |
| log | back to summary |
|---|---|
| public void log(Request req, Response res, long time) Implements org.
| |
| normalize | back to summary |
|---|---|
| public static boolean normalize(MessageBytes uriMB, boolean allowBackslash) This method normalizes "\", "//", "/./" and "/../".
| |
| parsePathParameters | back to summary |
|---|---|
| protected void parsePathParameters(Request req, Request request) Extract the path parameters from the request. This assumes parameters are of the form /path;name=value;name2=value2/ etc. Currently only really interested in the session ID that will be in this form. Other parameters can safely be ignored. | |
| parseSessionCookiesId | back to summary |
|---|---|
| protected void parseSessionCookiesId(Request request) Parse session id in Cookie.
| |
| parseSessionSslId | back to summary |
|---|---|
| protected void parseSessionSslId(Request request) Look for SSL session ID if required. Only look for SSL Session ID if it is the only tracking method enabled.
| |
| postParseRequest | back to summary |
|---|---|
| protected boolean postParseRequest(Request req, Request request, Response res, Response response) throws IOException, ServletException Perform the necessary processing after the HTTP headers have been parsed to enable the request/response pair to be passed to the start of the container pipeline for processing.
| |
| prepare | back to summary |
|---|---|
| public boolean prepare(Request req, Response res) throws IOException, ServletException Implements org. Doc from org. Prepare the given request/response for processing. This method requires that the request object has been populated with the information available from the HTTP headers. | |
| service | back to summary |
|---|---|
| public void service(Request req, Response res) throws Exception Implements org. Doc from org. Call the service method, and notify all listeners
| |
| updateWrapperErrorCount | back to summary |
|---|---|
| private void updateWrapperErrorCount(Request request, Response response) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| RecycleRequiredException | back to summary |
|---|---|
| private RecycleRequiredException() | |