public final class Request extends Object
Constructor and Description |
---|
Request() |
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(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 Cookies getCookies()
public Parameters getParameters()
public MessageBytes getRemoteUser()
public boolean getRemoteUserNeedsAuthorization()
public void setRemoteUserNeedsAuthorization(boolean remoteUserNeedsAuthorization)
public MessageBytes getAuthType()
public int getAvailable()
public void setAvailable(int available)
public boolean getSupportsRelativeRedirects()
public InputBuffer getInputBuffer()
public void setInputBuffer(InputBuffer inputBuffer)
public int doRead(ByteChunk chunk) throws IOException
chunk
- The destination to which to copy the dataIOException
- If an I/O error occurs during the copypublic long getStartTime()
public void setStartTime(long startTime)
public final void setNote(int pos, Object value)
pos
- Index to use to store the notevalue
- The value to store at that indexpublic final Object getNote(int pos)
public void recycle()
public void updateCounters()
public RequestInfo getRequestProcessor()
public long getBytesRead()
public boolean isProcessing()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.