com.croftsoft.core.net.http
Class HttpConnection
java.lang.Object
com.croftsoft.core.net.http.HttpConnection
public final class HttpConnection
- extends Object
Somewhat of a replacement for HttpURLConnection.
- Since:
- 2000-04-27
- Version:
- 2003-05-19
- Author:
- David W. Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_ACCEPTED
public static final int HTTP_ACCEPTED
- See Also:
- Constant Field Values
HTTP_NO_CONTENT
public static final int HTTP_NO_CONTENT
- See Also:
- Constant Field Values
HttpConnection
public HttpConnection(String host,
int port,
String path,
String userAgent,
String contentType,
byte[] requestBytes,
Parser contentParser)
post
public void post()
throws IOException
- Throws:
IOException
abort
public void abort()
getResponseCode
public int getResponseCode()
getParsedContent
public Object getParsedContent()
getHeaderHashtable
public Hashtable getHeaderHashtable()
setRequestBytes
public void setRequestBytes(byte[] requestBytes)
CroftSoft Core Javadoc (2008-09-28 20:58:02)