xsul.http_client
Class HttpClientRequest
java.lang.Object
xsul.http_client.HttpClientRequest
- public class HttpClientRequest
- extends java.lang.Object
This class represents client-side HTTP request.
It is ooptimzied for small memory footprint.
- Version:
- $Revision: 1.17 $
- Author:
- Aleksander Slominski
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClientRequest
public HttpClientRequest(ClientSocketConnection conn,
HttpClientConnectionManager mgr)
throws HttpClientException
setRequestLine
public void setRequestLine(java.lang.String method,
java.lang.String requestUri,
java.lang.String httpVersion)
throws HttpClientException
- Throws:
HttpClientException
setConnection
public void setConnection(java.lang.String connection)
throws HttpClientException
- Throws:
HttpClientException
setContentType
public void setContentType(java.lang.String contentType)
throws HttpClientException
- Throws:
HttpClientException
setUserAgent
public void setUserAgent(java.lang.String userAgent)
throws HttpClientException
- Throws:
HttpClientException
ensureHeadersCapacity
public void ensureHeadersCapacity(int capacity)
throws HttpClientException
- Throws:
HttpClientException
setHeader
public void setHeader(java.lang.String headerName,
java.lang.String headerValue)
throws HttpClientException
- Throws:
HttpClientException
sendHeaders
public HttpClientResponse sendHeaders()
throws HttpClientException
- Throws:
HttpClientException
getBodyOutputStream
public java.io.OutputStream getBodyOutputStream()
throws HttpClientException
- Throws:
HttpClientException
IU Extreme! Lab (http://www.extreme.indiana.edu)