public final class Request extends Object
Modifier and Type | Field and Description |
---|---|
protected ReadListener |
listener |
Constructor and Description |
---|
Request() |
protected volatile ReadListener listener
public ReadListener getReadListener()
public void setReadListener(ReadListener listener)
public boolean sendAllDataReadEvent()
public MessageBytes instanceId()
public MimeHeaders getMimeHeaders()
public UDecoder getURLDecoder()
public MessageBytes scheme()
public MessageBytes method()
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(long len)
public int getContentLength()
public long getContentLengthLong()
public String getContentType()
public void setContentType(String type)
public MessageBytes contentType()
public void setContentType(MessageBytes mb)
public Response getResponse()
public void setResponse(Response response)
public void action(ActionCode actionCode, Object param)
public ServerCookies getCookies()
public Parameters getParameters()
public MessageBytes getRemoteUser()
public MessageBytes getAuthType()
public int getAvailable()
public void setAvailable(int available)
public boolean isFinished()
public InputBuffer getInputBuffer()
public void setInputBuffer(InputBuffer inputBuffer)
public int doRead(ByteChunk chunk) throws IOException
IOException
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()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.