| java.lang.Object org.apache.catalina.connector.CoyoteAdapter
CoyoteAdapter | public class CoyoteAdapter implements Adapter(Code) | | Implementation of a request processor which delegates the processing to a
Coyote processor.
author: Craig R. McClanahan author: Remy Maucherat version: $Revision: 555304 $ $Date: 2007-07-11 17:28:52 +0200 (mer., 11 juil. 2007) $ |
Constructor Summary | |
public | CoyoteAdapter(Connector connector) Construct a new CoyoteProcessor associated with the specified connector. |
Method Summary | |
protected void | convertMB(MessageBytes mb) Character conversion of the a US-ASCII MessageBytes. | protected void | convertURI(MessageBytes uri, Request request) Character conversion of the URI. | protected static void | copyBytes(byte[] b, int dest, int src, int len) Copy an array of bytes to a different position. | public boolean | event(org.apache.coyote.Request req, org.apache.coyote.Response res, SocketStatus status) Event method. | public static boolean | normalize(MessageBytes uriMB) Normalize URI.
This method normalizes "\", "//", "/./" and "/../". | protected void | parseSessionCookiesId(org.apache.coyote.Request req, Request request) Parse session id in URL. | protected void | parseSessionId(org.apache.coyote.Request req, Request request) Parse session id in URL. | protected boolean | postParseRequest(org.apache.coyote.Request req, Request request, org.apache.coyote.Response res, Response response) Parse additional request parameters. | public void | service(org.apache.coyote.Request req, org.apache.coyote.Response res) Service method. |
ADAPTER_NOTES | final public static int ADAPTER_NOTES(Code) | | |
ALLOW_BACKSLASH | final protected static boolean ALLOW_BACKSLASH(Code) | | |
CoyoteAdapter | public CoyoteAdapter(Connector connector)(Code) | | Construct a new CoyoteProcessor associated with the specified connector.
Parameters: connector - CoyoteConnector that owns this processor |
convertMB | protected void convertMB(MessageBytes mb)(Code) | | Character conversion of the a US-ASCII MessageBytes.
|
copyBytes | protected static void copyBytes(byte[] b, int dest, int src, int len)(Code) | | Copy an array of bytes to a different position. Used during
normalization.
|
normalize | public static boolean normalize(MessageBytes uriMB)(Code) | | Normalize URI.
This method normalizes "\", "//", "/./" and "/../". This method will
return false when trying to go above the root, or if the URI contains
a null byte.
Parameters: uriMB - URI to be normalized |
|
|