org.apache.coyote.tomcat3
Class Tomcat3Request
org.apache.tomcat.core.Request
org.apache.coyote.tomcat3.Tomcat3Request
public class Tomcat3Request
extends org.apache.tomcat.core.Request
The Request to connect with Coyote.
This class handles the I/O requirements and transferring the request
line and Mime headers between Coyote and Tomcat.
- Bill Barker
- Costin Manolache
Tomcat3Request
public Tomcat3Request()
doRead
public int doRead()
throws IOException
Read a single character from the request body.
doRead
public int doRead(byte[] b,
int off,
int len)
throws IOException
Read a chunk from the request body.
getAuthType
public String getAuthType()
getCoyoteRequest
public Request getCoyoteRequest()
getJvmRoute
public String getJvmRoute()
getLocalHost
public String getLocalHost()
getRemoteUser
public String getRemoteUser()
getServerPort
public int getServerPort()
isSecure
public boolean isSecure()
readBytes
protected int readBytes()
throws IOException
Read bytes to the read chunk buffer.
recycle
public void recycle()
setAuthType
public void setAuthType(String s)
setCoyoteRequest
public void setCoyoteRequest(Request cReq)
Attach the Coyote Request to this Request.
This is currently set pre-request to allow copying the request
attributes to the Tomcat attributes.
setJvmRoute
public void setJvmRoute(String s)
setRemoteUser
public void setRemoteUser(String s)
setServerPort
public void setServerPort(int i)
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.