public class InvocationDecoder
extends java.lang.Object
Constructor and Description |
---|
InvocationDecoder()
Creates the invocation decoder.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlternateSessionURLPrefix()
Gets the session url prefix.
|
java.lang.String |
getEncoding()
Returns the character encoding.
|
int |
getMaxURILength() |
java.lang.String |
getSessionCookie()
Gets the session cookie
|
java.lang.String |
getSessionURLPrefix()
Gets the session url prefix.
|
java.lang.String |
getSSLSessionCookie()
Gets the SSL session cookie
|
void |
normalizeURI(Invocation invocation,
java.lang.String rawURI)
Just normalize the URI.
|
java.lang.String |
normalizeUri(java.lang.String uri)
Normalize a uri to remove '///', '/./', 'foo/..', etc.
|
java.lang.String |
normalizeUri(java.lang.String uri,
boolean isWindows)
Normalize a uri to remove '///', '/./', 'foo/..', etc.
|
void |
setAlternateSessionURLPrefix(java.lang.String prefix)
Sets the alternate session url prefix.
|
void |
setEncoding(java.lang.String encoding)
Sets the character encoding.
|
void |
setMaxURILength(int maxURILength) |
void |
setSessionCookie(java.lang.String cookie)
Sets the session cookie
|
void |
setSessionURLPrefix(java.lang.String prefix)
Sets the session url prefix.
|
void |
setSSLSessionCookie(java.lang.String cookie)
Sets the SSL session cookie
|
void |
splitQuery(Invocation invocation,
java.lang.String rawURI)
Splits out the query string, and normalizes the URI, assuming nothing
needs unescaping.
|
void |
splitQueryAndUnescape(Invocation invocation,
byte[] rawURI,
int uriLength)
Splits out the query string and unescape the value.
|
public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
public void setSessionCookie(java.lang.String cookie)
public java.lang.String getSessionCookie()
public void setSSLSessionCookie(java.lang.String cookie)
public java.lang.String getSSLSessionCookie()
public void setSessionURLPrefix(java.lang.String prefix)
public java.lang.String getSessionURLPrefix()
public void setAlternateSessionURLPrefix(java.lang.String prefix) throws ConfigException
ConfigException
public java.lang.String getAlternateSessionURLPrefix()
public int getMaxURILength()
public void setMaxURILength(int maxURILength)
public void splitQueryAndUnescape(Invocation invocation, byte[] rawURI, int uriLength) throws java.io.IOException
java.io.IOException
public void splitQuery(Invocation invocation, java.lang.String rawURI) throws java.io.IOException
java.io.IOException
public void normalizeURI(Invocation invocation, java.lang.String rawURI) throws java.io.IOException
java.io.IOException
public java.lang.String normalizeUri(java.lang.String uri) throws java.io.IOException
uri
- the raw uri to be normalizedjava.io.IOException
public java.lang.String normalizeUri(java.lang.String uri, boolean isWindows) throws java.io.IOException
uri
- the raw uri to be normalizedjava.io.IOException