org.apache.coyote
Class 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 beeing 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
public long getBytesReceived()
public long getBytesSent()
public int getContentLength()
public String getCurrentQueryString()
public String getCurrentUri()
public int getErrorCount()
public long getLastRequestProcessingTime()
public String getMaxRequestUri()
public long getMaxTime()
public String getMethod()
public long getProcessingTime()
public String getProtocol()
public String getRemoteAddr()
public long getRequestBytesReceived()
public long getRequestBytesSent()
public int getRequestCount()
public long getRequestProcessingTime()
public ObjectName getRpName()
public int getServerPort()
public int getStage()
public String getVirtualHost()
public String getWorkerThreadName()
public void setBytesReceived(long bytesReceived)
public void setBytesSent(long bytesSent)
public void setErrorCount(int errorCount)
public void setLastRequestProcessingTime(long lastRequestProcessingTime)
public void setMaxRequestUri(String maxRequestUri)
public void setMaxTime(long maxTime)
public void setProcessingTime(long processingTime)
public void setRequestCount(int requestCount)
public void setRpName(ObjectName rpName)
public void setStage(int stage)
public void setWorkerThreadName(String workerThreadName)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.