public final class AjpHttpRequest
extends org.glassfish.grizzly.http.HttpRequestPacket
HttpRequestPacket implementation, which also contains AJP
related meta data.| Modifier and Type | Method and Description |
|---|---|
static AjpHttpRequest |
create() |
protected void |
doParseHostHeader() |
Object |
getAttribute(String name) |
int |
getContentBytesRemaining() |
int |
getLocalPort() |
org.glassfish.grizzly.http.ProcessingState |
getProcessingState() |
int |
getRemotePort() |
org.glassfish.grizzly.http.util.DataChunk |
instanceId()
Get the instance id (or JVM route).
|
org.glassfish.grizzly.http.util.DataChunk |
localAddr() |
org.glassfish.grizzly.http.util.DataChunk |
localName() |
void |
recycle() |
org.glassfish.grizzly.http.util.DataChunk |
remoteAddr() |
org.glassfish.grizzly.http.util.DataChunk |
remoteHost() |
org.glassfish.grizzly.http.util.DataChunk |
remoteHostRaw() |
protected void |
reset() |
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, httpContentBuilder, httpTrailerBuilder, isChunked, isChunkingAllowed, isCommitted, isContentBroken, isContentEncodingsSelected, isContentTypeSet, isExpectContent, isHeader, isIgnoreContentModifiers, isSecure, isSkipRemainder, isUpgrade, makeContentLengthHeader, makeTransferEncodingHeader, makeUpgradeHeader, setCharacterEncoding, setChunked, setChunkingAllowed, setCommitted, setContentBroken, setContentEncodingsSelected, setContentLength, setContentLengthLong, setContentType, setContentType, setHeader, setHeader, setHeader, setHeader, setIgnoreContentModifiers, setProtocol, setSecure, setSkipRemainder, setTransferEncoding, setUpgradepublic static AjpHttpRequest create()
public Object getAttribute(String name)
getAttribute in class org.glassfish.grizzly.http.HttpRequestPacketpublic int getLocalPort()
getLocalPort in class org.glassfish.grizzly.http.HttpRequestPacketpublic int getRemotePort()
getRemotePort in class org.glassfish.grizzly.http.HttpRequestPacketpublic org.glassfish.grizzly.http.util.DataChunk localAddr()
localAddr in class org.glassfish.grizzly.http.HttpRequestPacketpublic org.glassfish.grizzly.http.util.DataChunk localName()
localName in class org.glassfish.grizzly.http.HttpRequestPacketpublic org.glassfish.grizzly.http.util.DataChunk remoteAddr()
remoteAddr in class org.glassfish.grizzly.http.HttpRequestPacketpublic org.glassfish.grizzly.http.util.DataChunk remoteHostRaw()
remoteHost(), this
method doesn't try to resolve the host name based on the current
remoteAddr() valuepublic org.glassfish.grizzly.http.util.DataChunk remoteHost()
remoteHost in class org.glassfish.grizzly.http.HttpRequestPacketpublic org.glassfish.grizzly.http.util.DataChunk instanceId()
public org.glassfish.grizzly.http.ProcessingState getProcessingState()
getProcessingState in class org.glassfish.grizzly.http.HttpHeaderpublic int getContentBytesRemaining()
public void setContentBytesRemaining(int contentBytesRemaining)
public void setExpectContent(boolean isExpectContent)
setExpectContent in class org.glassfish.grizzly.http.HttpHeaderprotected void doParseHostHeader()
doParseHostHeader in class org.glassfish.grizzly.http.HttpRequestPacketprotected void reset()
reset in class org.glassfish.grizzly.http.HttpRequestPacketpublic void recycle()
recycle in interface org.glassfish.grizzly.Cacheablerecycle in class org.glassfish.grizzly.http.HttpHeaderCopyright © 2019 Oracle Corporation. All Rights Reserved.