| java.lang.Object com.caucho.server.dispatch.InvocationDecoder
InvocationDecoder | public class InvocationDecoder (Code) | | Decodes invocation URI.
|
Field Summary | |
final static L10N | L | final static Logger | log |
Method Summary | |
public String | getAlternateSessionURLPrefix() Gets the session url prefix. | public String | getEncoding() Returns the character encoding. | public String | getSSLSessionCookie() | public String | getSessionCookie() | public String | getSessionURLPrefix() Gets the session url prefix. | public void | normalizeURI(Invocation invocation, String rawURI) Just normalize the URI. | public static String | normalizeUri(String uri) Normalize a uri to remove '///', '/./', 'foo/..', etc. | public static String | normalizeUri(String uri, boolean isWindows) Normalize a uri to remove '///', '/./', 'foo/..', etc. | public void | setAlternateSessionURLPrefix(String prefix) Sets the alternate session url prefix. | public void | setEncoding(String encoding) Sets the character encoding. | public void | setSSLSessionCookie(String cookie) | public void | setSessionCookie(String cookie) | public void | setSessionURLPrefix(String prefix) Sets the session url prefix. | public void | splitQuery(Invocation invocation, String rawURI) Splits out the query string, and normalizes the URI, assuming nothing
needs unescaping. | public void | splitQueryAndUnescape(Invocation invocation, byte[] rawURI, int uriLength) Splits out the query string and unescape the value. | public void | splitSession(Invocation invocation) Splits out the session. |
InvocationDecoder | public InvocationDecoder()(Code) | | Creates the invocation decoder.
|
getAlternateSessionURLPrefix | public String getAlternateSessionURLPrefix()(Code) | | Gets the session url prefix.
|
getEncoding | public String getEncoding()(Code) | | Returns the character encoding.
|
getSSLSessionCookie | public String getSSLSessionCookie()(Code) | | Gets the SSL session cookie
|
getSessionCookie | public String getSessionCookie()(Code) | | Gets the session cookie
|
getSessionURLPrefix | public String getSessionURLPrefix()(Code) | | Gets the session url prefix.
|
normalizeUri | public static String normalizeUri(String uri) throws IOException(Code) | | Normalize a uri to remove '///', '/./', 'foo/..', etc.
Parameters: uri - the raw uri to be normalized a normalized URI |
normalizeUri | public static String normalizeUri(String uri, boolean isWindows) throws IOException(Code) | | Normalize a uri to remove '///', '/./', 'foo/..', etc.
Parameters: uri - the raw uri to be normalized a normalized URI |
setAlternateSessionURLPrefix | public void setAlternateSessionURLPrefix(String prefix) throws ConfigException(Code) | | Sets the alternate session url prefix.
|
setEncoding | public void setEncoding(String encoding)(Code) | | Sets the character encoding.
|
setSSLSessionCookie | public void setSSLSessionCookie(String cookie)(Code) | | Sets the SSL session cookie
|
setSessionCookie | public void setSessionCookie(String cookie)(Code) | | Sets the session cookie
|
setSessionURLPrefix | public void setSessionURLPrefix(String prefix)(Code) | | Sets the session url prefix.
|
splitQuery | public void splitQuery(Invocation invocation, String rawURI) throws IOException(Code) | | Splits out the query string, and normalizes the URI, assuming nothing
needs unescaping.
|
splitQueryAndUnescape | public void splitQueryAndUnescape(Invocation invocation, byte[] rawURI, int uriLength) throws IOException(Code) | | Splits out the query string and unescape the value.
|
splitSession | public void splitSession(Invocation invocation)(Code) | | Splits out the session.
|
|
|