public final class AjpHttpRequest extends HttpRequestPacket
HttpRequestPacket implementation, which also contains AJP
related meta data.HttpRequestPacket.Builderattributes, localAddressC, localNameC, localPort, parsedMethod, READ_ONLY_ATTR_PREFIX, remoteAddressC, remoteHostC, remotePort, unparsedHostCcontentLength, contentType, headers, isChunked, isCommitted, isContentBroken, isExpectContent, isSkipRemainder, parsedProtocol, protocolC, secure, upgrade| Modifier and Type | Method and Description |
|---|---|
static AjpHttpRequest |
create() |
protected void |
doParseHostHeader() |
Object |
getAttribute(String name) |
int |
getContentBytesRemaining() |
int |
getLocalPort() |
ProcessingState |
getProcessingState() |
int |
getRemotePort() |
DataChunk |
instanceId()
Get the instance id (or JVM route).
|
DataChunk |
localAddr() |
DataChunk |
localName() |
void |
recycle() |
DataChunk |
remoteAddr() |
DataChunk |
remoteHost() |
DataChunk |
remoteHostRaw() |
protected void |
reset()
Reset the internal state.
|
void |
setContentBytesRemaining(int contentBytesRemaining) |
void |
setExpectContent(boolean isExpectContent) |
authType, builder, createNote, getAttributeNames, getConnection, getLocalAddress, getLocalHost, getLocalName, getMethod, getMethodDC, getNote, getNoteNames, getQueryString, getQueryStringDC, getRemoteAddress, getRemoteHost, getRequestURI, getRequestURIRef, getResponse, getServerPort, isHeadRequest, isRequest, remoteUser, removeAttribute, removeNote, requiresAcknowledgement, requiresAcknowledgement, serverName, serverNameRaw, setAttribute, setConnection, setLocalHost, setLocalPort, setMethod, setMethod, setNote, setQueryString, setRemotePort, setRequestURI, setResponse, setServerPort, toStringaddContentEncoding, addHeader, addHeader, addHeader, addHeader, containsHeader, containsHeader, extractContentEncoding, flushSpecialHeaders, getAttributes, getCharacterEncoding, getContentEncodings, getContentEncodings, getContentLength, getContentType, getContentTypeHolder, getHeader, getHeader, getHeaders, getHttpHeader, getParsingState, getProtocol, getProtocolDC, getProtocolString, getTempHeaderEncodingBuffer, getTransferEncoding, getUpgrade, getUpgradeDC, handleGetSpecialHeader, handleGetSpecialHeader, handleSetSpecialHeaders, handleSetSpecialHeaders, handleSetSpecialHeaders, handleSetSpecialHeaders, httpContentBuilder, httpTrailerBuilder, isChunked, isChunkingAllowed, isCommitted, isContentBroken, isContentEncodingsSelected, isContentTypeSet, isExpectContent, isHeader, isIgnoreContentModifiers, isSecure, isSkipRemainder, isSpecialHeader, makeContentLengthHeader, makeTransferEncodingHeader, makeUpgradeHeader, setCharacterEncoding, setChunked, setChunkingAllowed, setCommitted, setContentBroken, setContentEncodingsSelected, setContentLength, setContentLengthLong, setContentType, setContentType, setHeader, setHeader, setHeader, setHeader, setIgnoreContentModifiers, setProtocol, setSecure, setSkipRemainder, setTransferEncoding, setUpgradeisHttppublic static AjpHttpRequest create()
public Object getAttribute(String name)
getAttribute in class HttpRequestPacketname - Name of the request attribute to returnnull.public int getLocalPort()
getLocalPort in class HttpRequestPacketpublic int getRemotePort()
getRemotePort in class HttpRequestPacketpublic DataChunk localAddr()
localAddr in class HttpRequestPacketDataChunk representing the Internet Protocol (IP)
address of the interface on which the request was received.public DataChunk localName()
localName in class HttpRequestPacketDataChunk representing the host name of the
Internet Protocol (IP) interface on which the request was received.public DataChunk remoteAddr()
remoteAddr in class HttpRequestPacketDataChunk representing the Internet Protocol (IP)
address of the client or last proxy that sent the request.public DataChunk remoteHostRaw()
remoteHost(), this
method doesn't try to resolve the host name based on the current
remoteAddr() valuepublic DataChunk remoteHost()
remoteHost in class HttpRequestPacketDataChunk representing the fully qualified
name of the client or the last proxy that sent the request. If the
engine cannot or chooses not to resolve the host name (to improve
performance), this method returns the the IP address.public DataChunk instanceId()
public ProcessingState getProcessingState()
getProcessingState in class HttpHeaderpublic int getContentBytesRemaining()
public void setContentBytesRemaining(int contentBytesRemaining)
public void setExpectContent(boolean isExpectContent)
setExpectContent in class HttpHeaderprotected void doParseHostHeader()
doParseHostHeader in class HttpRequestPacketprotected void reset()
HttpRequestPacketreset in class HttpRequestPacketpublic void recycle()
HttpHeaderrecycle in interface Cacheablerecycle in class HttpHeaderCopyright © 2016 Oracle Corporation. All rights reserved.