org.glassfish.grizzly.http.util
Class RequestURIRef
java.lang.Object
org.glassfish.grizzly.http.util.RequestURIRef
public class RequestURIRef
- extends Object
Request URI holder.
Contains 3 types of URI:
1) Original, which represents the URI's original state at time it was set.
2) Decoded, which has represents URI after being URI and String decoded (internally used by Mapper).
3) Actual, which is supposed as URI value returned to user.
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestURIRef
public RequestURIRef()
init
public void init(Buffer input,
int start,
int end)
init
public void init(byte[] input,
int start,
int end)
getOriginalRequestURIBC
public final DataChunk getOriginalRequestURIBC()
getRequestURIBC
public final DataChunk getRequestURIBC()
getDecodedRequestURIBC
public final DataChunk getDecodedRequestURIBC()
throws CharConversionException
- Throws:
CharConversionException
getDecodedRequestURIBC
public DataChunk getDecodedRequestURIBC(boolean isSlashAllowed)
throws CharConversionException
- Throws:
CharConversionException
getDecodedRequestURIBC
public DataChunk getDecodedRequestURIBC(boolean isSlashAllowed,
Charset charset)
throws CharConversionException
- Throws:
CharConversionException
getURI
public String getURI()
getURI
public String getURI(Charset encoding)
setURI
public void setURI(String uri)
getDecodedURI
public final String getDecodedURI()
throws CharConversionException
- Throws:
CharConversionException
getDecodedURI
public final String getDecodedURI(boolean isSlashAllowed)
throws CharConversionException
- Throws:
CharConversionException
getDecodedURI
public String getDecodedURI(boolean isSlashAllowed,
Charset encoding)
throws CharConversionException
- Throws:
CharConversionException
setDecodedURI
public void setDecodedURI(String uri)
isDecoded
public boolean isDecoded()
getDefaultURIEncoding
public Charset getDefaultURIEncoding()
setDefaultURIEncoding
public void setDefaultURIEncoding(Charset defaultURIEncoding)
recycle
public void recycle()
Copyright © 2012 Oracle Corporation. All Rights Reserved.