Package org.apache.coyote
Class RequestInfo
java.lang.Object
org.apache.coyote.RequestInfo
Structure holding the Request and Response objects. It also holds statistical information about request processing
 and provide management information about the requests being processed. Each thread uses a Request/Response pair that
 is recycled on each request. This object provides a place to collect global low-level statistics - without having to
 deal with synchronization ( since each thread will have it's own RequestProcessorMX ).
- Author:
- Costin Manolache
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlonglongintintlonglonglongObtain the remote address for this connection as reported by an intermediate proxy (if any).longlongintlongintintgetStage()voidsetBytesReceived(long bytesReceived) voidsetBytesSent(long bytesSent) voidsetErrorCount(int errorCount) voidsetGlobalProcessor(RequestGroupInfo global) voidsetLastRequestProcessingTime(long lastRequestProcessingTime) voidsetMaxRequestUri(String maxRequestUri) voidsetMaxTime(long maxTime) voidsetProcessingTime(long processingTime) voidsetRequestCount(int requestCount) voidsetRpName(ObjectName rpName) voidsetStage(int stage) voidsetWorkerThreadName(String workerThreadName) 
- 
Constructor Details- 
RequestInfo
 
- 
- 
Method Details- 
getGlobalProcessor
- 
setGlobalProcessor
- 
getMethod
- 
getCurrentUri
- 
getCurrentQueryString
- 
getProtocol
- 
getVirtualHost
- 
getServerPortpublic int getServerPort()
- 
getRemoteAddr
- 
getPeerAddr
- 
getRemoteAddrForwardedObtain the remote address for this connection as reported by an intermediate proxy (if any).- Returns:
- The remote address for the this connection
 
- 
getContentLengthpublic int getContentLength()
- 
getRequestBytesReceivedpublic long getRequestBytesReceived()
- 
getRequestBytesSentpublic long getRequestBytesSent()
- 
getRequestProcessingTimepublic long getRequestProcessingTime()
- 
getStagepublic int getStage()
- 
setStagepublic void setStage(int stage) 
- 
getBytesSentpublic long getBytesSent()
- 
setBytesSentpublic void setBytesSent(long bytesSent) 
- 
getBytesReceivedpublic long getBytesReceived()
- 
setBytesReceivedpublic void setBytesReceived(long bytesReceived) 
- 
getProcessingTimepublic long getProcessingTime()
- 
setProcessingTimepublic void setProcessingTime(long processingTime) 
- 
getMaxTimepublic long getMaxTime()
- 
setMaxTimepublic void setMaxTime(long maxTime) 
- 
getMaxRequestUri
- 
setMaxRequestUri
- 
getRequestCountpublic int getRequestCount()
- 
setRequestCountpublic void setRequestCount(int requestCount) 
- 
getErrorCountpublic int getErrorCount()
- 
setErrorCountpublic void setErrorCount(int errorCount) 
- 
getWorkerThreadName
- 
getRpName
- 
getLastRequestProcessingTimepublic long getLastRequestProcessingTime()
- 
setWorkerThreadName
- 
setRpName
- 
setLastRequestProcessingTimepublic void setLastRequestProcessingTime(long lastRequestProcessingTime) 
 
-