Package | Description |
---|---|
org.glassfish.grizzly.http | |
org.glassfish.grizzly.http.ajp | |
org.glassfish.grizzly.http.server.util | |
org.glassfish.grizzly.http.util |
Modifier and Type | Field and Description |
---|---|
DataChunk |
HttpCodecFilter.HeaderParsingState.headerValueStorage |
protected DataChunk |
HttpRequestPacket.localAddressC |
protected DataChunk |
HttpRequestPacket.localNameC |
protected DataChunk |
HttpHeader.protocolC |
protected DataChunk |
HttpRequestPacket.remoteAddressC |
protected DataChunk |
HttpRequestPacket.remoteHostC |
protected DataChunk |
HttpHeader.upgrade |
Modifier and Type | Method and Description |
---|---|
DataChunk |
HttpRequestPacket.authType()
Return the authentication type used for this Request.
|
DataChunk |
LazyCookieState.getComment() |
DataChunk |
LazyCookieState.getDomain() |
DataChunk |
HttpRequestPacket.getMethodDC()
Get the HTTP request method as
DataChunk
(avoiding creation of a String object). |
DataChunk |
LazyCookieState.getName() |
DataChunk |
LazyCookieState.getPath() |
DataChunk |
HttpHeader.getProtocolDC()
Get the HTTP message protocol version as
DataChunk
(avoiding creation of a String object). |
DataChunk |
HttpRequestPacket.getQueryStringDC()
Returns the query string that is contained in the request URL after the
path.
|
DataChunk |
HttpResponsePacket.getReasonPhraseDC()
Gets the status reason phrase for this response as
DataChunk
(avoid creation of a String object}. |
DataChunk |
HttpResponsePacket.getReasonPhraseRawDC()
Gets the custom status reason phrase for this response as
DataChunk
(avoid creation of a String object}. |
DataChunk |
HttpHeader.getUpgradeDC() |
DataChunk |
LazyCookieState.getValue() |
DataChunk |
HttpRequestPacket.localAddr() |
DataChunk |
HttpRequestPacket.localName() |
DataChunk |
HttpRequestPacket.remoteAddr() |
DataChunk |
HttpRequestPacket.remoteHost() |
DataChunk |
HttpRequestPacket.remoteUser()
Return the name of the remote user that has been authenticated
for this Request.
|
DataChunk |
HttpRequestPacket.serverName()
Return the buffer holding the server name, if
any.
|
Modifier and Type | Method and Description |
---|---|
protected static Buffer |
HttpCodecFilter.encodeMimeHeader(MemoryManager memoryManager,
Buffer buffer,
DataChunk name,
DataChunk value,
byte[] tempBuffer,
boolean encodeLastCRLF) |
protected void |
HttpHeader.extractContentEncoding(DataChunk value)
Obtain content-encoding value and mark it as serialized.
|
static Protocol |
Protocol.valueOf(DataChunk protocolC) |
static Method |
Method.valueOf(DataChunk methodC) |
Modifier and Type | Method and Description |
---|---|
DataChunk |
AjpHttpRequest.instanceId()
Get the instance id (or JVM route).
|
DataChunk |
AjpHttpRequest.localAddr() |
DataChunk |
AjpHttpRequest.localName() |
DataChunk |
AjpHttpRequest.remoteAddr() |
DataChunk |
AjpHttpRequest.remoteHost() |
Modifier and Type | Field and Description |
---|---|
DataChunk |
MappingData.contextPath |
DataChunk |
MappingData.pathInfo |
DataChunk |
MappingData.redirectPath |
DataChunk |
MappingData.requestPath |
DataChunk |
MappingData.tmpMapperDC |
DataChunk |
MappingData.wrapperPath |
Modifier and Type | Method and Description |
---|---|
void |
Mapper.map(DataChunk host,
DataChunk uri,
MappingData mappingData)
Map the specified host name and URI, mutating the given mapping data.
|
void |
DispatcherHelper.mapName(DataChunk name,
MappingData mappingData) |
void |
DispatcherHelper.mapPath(DataChunk host,
DataChunk path,
MappingData mappingData) |
void |
Mapper.mapUriWithSemicolon(DataChunk serverName,
DataChunk decodedURI,
MappingData mappingData,
int semicolonPos)
Maps the decodedURI to the corresponding HttpHandler, considering that URI
may have a semicolon with extra data followed, which shouldn't be a part
of mapping process.
|
Modifier and Type | Class and Description |
---|---|
class |
CacheableDataChunk
DataChunk implementation, which could be cached in the thread cache. |
Modifier and Type | Method and Description |
---|---|
DataChunk |
MimeHeaders.addValue(Buffer buffer,
int startN,
int len)
Create a new named header using un-translated Buffer.
|
DataChunk |
MimeHeaders.addValue(byte[] buffer,
int startN,
int len)
Create a new named header using un-translated byte[].
|
DataChunk |
MimeHeaders.addValue(Header header)
Create a new named header , return the MessageBytes
container for the new value
|
DataChunk |
MimeHeaders.addValue(String name)
Create a new named header , return the MessageBytes
container for the new value
|
static DataChunk |
HttpStatus.filter(DataChunk message)
Filter the specified message string for characters that are sensitive
in HTML.
|
static DataChunk |
HttpStatus.filterNonPrintableCharacters(DataChunk message)
Filter non-printable ASCII characters.
|
DataChunk |
RequestURIRef.getDecodedRequestURIBC() |
DataChunk |
RequestURIRef.getDecodedRequestURIBC(boolean isSlashAllowed) |
DataChunk |
RequestURIRef.getDecodedRequestURIBC(boolean isSlashAllowed,
Charset charset) |
DataChunk |
MimeHeaders.getName(int n)
Returns the Nth header name, or null if there is no such header.
|
DataChunk |
RequestURIRef.getOriginalRequestURIBC() |
DataChunk |
RequestURIRef.getRequestURIBC() |
DataChunk |
MimeHeaders.getValue(Header header)
Finds and returns a header field with the given name.
|
DataChunk |
MimeHeaders.getValue(int n)
Returns the Nth header value, or null if there is no such header.
|
DataChunk |
MimeHeaders.getValue(String name)
Finds and returns a header field with the given name.
|
static DataChunk |
DataChunk.newInstance() |
static DataChunk |
DataChunk.newInstance(ByteChunk byteChunk,
BufferChunk bufferChunk,
CharChunk charChunk,
String stringValue) |
DataChunk |
MimeHeaders.setValue(Header header)
Allow "set" operations -
return a DataChunk container for the
header value ( existing header or new
if this .
|
DataChunk |
MimeHeaders.setValue(String name)
Allow "set" operations -
return a DataChunk container for the
header value ( existing header or new
if this .
|
DataChunk |
DataChunk.toImmutable() |
Modifier and Type | Method and Description |
---|---|
static float |
HttpUtils.convertQValueToFloat(DataChunk dc,
int startIdx,
int stopIdx) |
static void |
HttpRequestURIDecoder.convertToChars(DataChunk decodedURI,
Charset encoding)
Converts the normalized the HTTP request represented by the bytes inside
DataChunk to chars representation, using the passed encoding. |
static void |
URLDecoder.decode(DataChunk dataChunk) |
static void |
HttpRequestURIDecoder.decode(DataChunk decodedURI)
Decode the HTTP request represented by the bytes inside
DataChunk . |
static void |
URLDecoder.decode(DataChunk dataChunk,
boolean allowEncodedSlash)
URLDecode the
DataChunk |
static void |
HttpRequestURIDecoder.decode(DataChunk decodedURI,
boolean isSlashAllowed)
Decode the HTTP request represented by the bytes inside
DataChunk . |
static void |
HttpRequestURIDecoder.decode(DataChunk decodedURI,
boolean isSlashAllowed,
Charset encoding)
Decode the HTTP request represented by the bytes inside
DataChunk . |
static void |
URLDecoder.decode(DataChunk srcDataChunk,
DataChunk dstDataChunk,
boolean allowEncodedSlash)
URLDecode the
DataChunk |
static void |
HttpRequestURIDecoder.decode(DataChunk originalURI,
DataChunk targetDecodedURI,
boolean isSlashAllowed,
Charset encoding)
Decode the HTTP request represented by the bytes inside
DataChunk . |
static void |
URLDecoder.decode(DataChunk srcDataChunk,
DataChunk dstDataChunk,
boolean allowEncodedSlash,
String enc)
URLDecode the
DataChunk |
static void |
URLDecoder.decodeAscii(DataChunk srcDataChunk,
DataChunk dstDataChunk,
boolean allowEncodedSlash)
URLDecode the
DataChunk |
void |
DataChunk.duplicate(DataChunk src)
Copy the src into this DataChunk, allocating more space if needed
|
static DataChunk |
HttpStatus.filter(DataChunk message)
Filter the specified message string for characters that are sensitive
in HTML.
|
static DataChunk |
HttpStatus.filterNonPrintableCharacters(DataChunk message)
Filter non-printable ASCII characters.
|
static boolean |
HttpRequestURIDecoder.normalize(DataChunk dataChunk)
Normalize URI.
|
static void |
HttpCodecUtils.parseHost(DataChunk hostDC,
HttpRequestPacket request,
HttpResponsePacket response,
ProcessingState state) |
static long |
Ascii.parseLong(DataChunk dataChunk) |
static long |
Ascii.parseLong(DataChunk dataChunk,
int offset,
int length) |
void |
Parameters.processParameters(DataChunk data) |
void |
Parameters.processParameters(DataChunk data,
Charset encoding) |
static Buffer |
HttpCodecUtils.put(MemoryManager memoryManager,
Buffer dstBuffer,
byte[] tempBuffer,
DataChunk chunk) |
void |
DataChunk.set(DataChunk value) |
void |
DataChunk.set(DataChunk value,
int start,
int end) |
void |
Parameters.setQuery(DataChunk queryBC) |
static void |
CookieParserUtils.unescapeDoubleQuotes(DataChunk dc)
Unescapes any double quotes in the given cookie value.
|
Copyright © 2014 Oracle Corporation. All rights reserved.