org.apache.coyote
Class RequestInfo
java.lang.Object
org.apache.coyote.RequestInfo
public class RequestInfo
- extends Object
Structure holding the Request and Response objects. It also holds statistical
informations about request processing and provide management informations
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 ).
TODO: Request notifications will be registered here.
- Author:
- Costin Manolache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestInfo
public RequestInfo(Request req)
getGlobalProcessor
public RequestGroupInfo getGlobalProcessor()
setGlobalProcessor
public void setGlobalProcessor(RequestGroupInfo global)
getMethod
public String getMethod()
getCurrentUri
public String getCurrentUri()
getCurrentQueryString
public String getCurrentQueryString()
getProtocol
public String getProtocol()
getVirtualHost
public String getVirtualHost()
getServerPort
public int getServerPort()
getRemoteAddr
public String getRemoteAddr()
getContentLength
public int getContentLength()
getRequestBytesReceived
public long getRequestBytesReceived()
getRequestBytesSent
public long getRequestBytesSent()
getRequestProcessingTime
public long getRequestProcessingTime()
getStage
public int getStage()
setStage
public void setStage(int stage)
getBytesSent
public long getBytesSent()
setBytesSent
public void setBytesSent(long bytesSent)
getBytesReceived
public long getBytesReceived()
setBytesReceived
public void setBytesReceived(long bytesReceived)
getProcessingTime
public long getProcessingTime()
setProcessingTime
public void setProcessingTime(long processingTime)
getMaxTime
public long getMaxTime()
setMaxTime
public void setMaxTime(long maxTime)
getMaxRequestUri
public String getMaxRequestUri()
setMaxRequestUri
public void setMaxRequestUri(String maxRequestUri)
getRequestCount
public int getRequestCount()
setRequestCount
public void setRequestCount(int requestCount)
getErrorCount
public int getErrorCount()
setErrorCount
public void setErrorCount(int errorCount)
getWorkerThreadName
public String getWorkerThreadName()
getRpName
public ObjectName getRpName()
getLastRequestProcessingTime
public long getLastRequestProcessingTime()
setWorkerThreadName
public void setWorkerThreadName(String workerThreadName)
setRpName
public void setRpName(ObjectName rpName)
setLastRequestProcessingTime
public void setLastRequestProcessingTime(long lastRequestProcessingTime)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.