|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.coyote.Request
public final class Request
This is a low-level, efficient representation of a server request. Most fields are GC-free, expensive operations are delayed until the user code needs the information. Processing is delegated to modules, using a hook mechanism. This class is not intended for user code - it is used internally by tomcat for processing the request in the most efficient way. Users ( servlets ) can access the information using a facade, which provides the high-level view of the request. For lazy evaluation, the request uses the getInfo() hook. The following ids are defined:
Constructor Summary | |
---|---|
Request()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Request()
Method Detail |
---|
public MessageBytes instanceId()
public MimeHeaders getMimeHeaders()
public UDecoder getURLDecoder()
public MessageBytes scheme()
public MessageBytes method()
public MessageBytes unparsedURI()
public MessageBytes requestURI()
public MessageBytes decodedURI()
public MessageBytes queryString()
public MessageBytes protocol()
public MessageBytes serverName()
public int getServerPort()
public void setServerPort(int serverPort)
public MessageBytes remoteAddr()
public MessageBytes remoteHost()
public MessageBytes localName()
public MessageBytes localAddr()
public int getRemotePort()
public void setRemotePort(int port)
public int getLocalPort()
public void setLocalPort(int port)
public String getCharacterEncoding()
public void setCharacterEncoding(String enc)
public void setContentLength(int len)
public int getContentLength()
public long getContentLengthLong()
public String getContentType()
public void setContentType(String type)
public MessageBytes contentType()
public void setContentType(MessageBytes mb)
public String getHeader(String name)
public Response getResponse()
public void setResponse(Response response)
public void action(ActionCode actionCode, Object param)
public Cookies getCookies()
public Parameters getParameters()
public void setAttribute(String name, Object o)
public HashMap<String,Object> getAttributes()
public Object getAttribute(String name)
public MessageBytes getRemoteUser()
public MessageBytes getAuthType()
public int getAvailable()
public void setAvailable(int available)
public InputBuffer getInputBuffer()
public void setInputBuffer(InputBuffer inputBuffer)
public int doRead(ByteChunk chunk) throws IOException
IOException
public String toString()
toString
in class Object
public long getStartTime()
public void setStartTime(long startTime)
public final void setNote(int pos, Object value)
public final Object getNote(int pos)
public void recycle()
public void updateCounters()
public RequestInfo getRequestProcessor()
public int getBytesRead()
public boolean isProcessing()
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |