<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.net.HttpURLConnection
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.net.html">This Package</a>  <a href="java.net.DatagramSocketImpl.html#_top_">Previous</a>  <a href="java.net.InetAddress.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.net.HttpURLConnection
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.net.URLConnection.html#_top_">java.net.URLConnection</a>
           |
           +----java.net.HttpURLConnection
</pre>
<hr>
<dl>
  <dt> public abstract class <b>HttpURLConnection</b>
  <dt> extends <a href="java.net.URLConnection.html#_top_">URLConnection</a>
</dl>
A URLConnection with support for HTTP-specific features. See
 <A HREF="http://www.w3.org/pub/WWW/Protocols/"> the spec </A> for
 details.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_ACCEPTED"><b>HTTP_ACCEPTED</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_BAD_GATEWAY"><b>HTTP_BAD_GATEWAY</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_BAD_METHOD"><b>HTTP_BAD_METHOD</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_BAD_REQUEST"><b>HTTP_BAD_REQUEST</b></a>
  <dd> 4XX: client error
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_CLIENT_TIMEOUT"><b>HTTP_CLIENT_TIMEOUT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_CONFLICT"><b>HTTP_CONFLICT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_CREATED"><b>HTTP_CREATED</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_ENTITY_TOO_LARGE"><b>HTTP_ENTITY_TOO_LARGE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_FORBIDDEN"><b>HTTP_FORBIDDEN</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_GATEWAY_TIMEOUT"><b>HTTP_GATEWAY_TIMEOUT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_GONE"><b>HTTP_GONE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_INTERNAL_ERROR"><b>HTTP_INTERNAL_ERROR</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_LENGTH_REQUIRED"><b>HTTP_LENGTH_REQUIRED</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_MOVED_PERM"><b>HTTP_MOVED_PERM</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_MOVED_TEMP"><b>HTTP_MOVED_TEMP</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_MULT_CHOICE"><b>HTTP_MULT_CHOICE</b></a>
  <dd> 3XX: relocation/redirect
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_NO_CONTENT"><b>HTTP_NO_CONTENT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_NOT_ACCEPTABLE"><b>HTTP_NOT_ACCEPTABLE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_NOT_AUTHORITATIVE"><b>HTTP_NOT_AUTHORITATIVE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_NOT_FOUND"><b>HTTP_NOT_FOUND</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_NOT_MODIFIED"><b>HTTP_NOT_MODIFIED</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_OK"><b>HTTP_OK</b></a>
  <dd> 2XX: generally "OK"
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_PARTIAL"><b>HTTP_PARTIAL</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_PAYMENT_REQUIRED"><b>HTTP_PAYMENT_REQUIRED</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_PRECON_FAILED"><b>HTTP_PRECON_FAILED</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_PROXY_AUTH"><b>HTTP_PROXY_AUTH</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_REQ_TOO_LONG"><b>HTTP_REQ_TOO_LONG</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_RESET"><b>HTTP_RESET</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_SEE_OTHER"><b>HTTP_SEE_OTHER</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_SERVER_ERROR"><b>HTTP_SERVER_ERROR</b></a>
  <dd> 5XX: server error
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_UNAUTHORIZED"><b>HTTP_UNAUTHORIZED</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_UNAVAILABLE"><b>HTTP_UNAVAILABLE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_UNSUPPORTED_TYPE"><b>HTTP_UNSUPPORTED_TYPE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_USE_PROXY"><b>HTTP_USE_PROXY</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HTTP_VERSION"><b>HTTP_VERSION</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#method"><b>method</b></a>
  <dd>  
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#responseCode"><b>responseCode</b></a>
  <dd>  
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#responseMessage"><b>responseMessage</b></a>
  <dd>  
</dl>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HttpURLConnection(java.net.URL)"><b>HttpURLConnection</b></a>(URL)
  <dd>  Constructor for the URLStreamHandler.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#disconnect()"><b>disconnect</b></a>()
  <dd>  Close the connection to the server.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getFollowRedirects()"><b>getFollowRedirects</b></a>()
  <dd>  
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getRequestMethod()"><b>getRequestMethod</b></a>()
  <dd>  Get the request method.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getResponseCode()"><b>getResponseCode</b></a>()
  <dd>  Gets HTTP response status.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getResponseMessage()"><b>getResponseMessage</b></a>()
  <dd>  Gets the HTTP response message, if any, returned along with the
 response code from a server.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setFollowRedirects(boolean)"><b>setFollowRedirects</b></a>(boolean)
  <dd>  Sets whether HTTP redirects  (requests with response code 3xx) should 
 be automatically followed by this class.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setRequestMethod(java.lang.String)"><b>setRequestMethod</b></a>(String)
  <dd>  Set the method for the URL request, one of:
 <UL>
  <LI>GET
  <LI>POST
  <LI>HEAD
  <LI>OPTIONS
  <LI>PUT
  <LI>DELETE
  <LI>TRACE
 </UL> are legal, subject to protocol restrictions.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#usingProxy()"><b>usingProxy</b></a>()
  <dd>  Indicates if the connection is going through a proxy.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="method"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>method</b>
<pre>
 protected <a href="java.lang.String.html#_top_">String</a> method
</pre>
<dl>
</dl>
<a name="responseCode"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>responseCode</b>
<pre>
 protected int responseCode
</pre>
<dl>
</dl>
<a name="responseMessage"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>responseMessage</b>
<pre>
 protected <a href="java.lang.String.html#_top_">String</a> responseMessage
</pre>
<dl>
</dl>
<a name="HTTP_OK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_OK</b>
<pre>
 public static final int HTTP_OK
</pre>
<dl>
  <dd> 2XX: generally "OK"<p>
</dl>
<a name="HTTP_CREATED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_CREATED</b>
<pre>
 public static final int HTTP_CREATED
</pre>
<a name="HTTP_ACCEPTED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_ACCEPTED</b>
<pre>
 public static final int HTTP_ACCEPTED
</pre>
<a name="HTTP_NOT_AUTHORITATIVE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_NOT_AUTHORITATIVE</b>
<pre>
 public static final int HTTP_NOT_AUTHORITATIVE
</pre>
<a name="HTTP_NO_CONTENT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_NO_CONTENT</b>
<pre>
 public static final int HTTP_NO_CONTENT
</pre>
<a name="HTTP_RESET"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_RESET</b>
<pre>
 public static final int HTTP_RESET
</pre>
<a name="HTTP_PARTIAL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_PARTIAL</b>
<pre>
 public static final int HTTP_PARTIAL
</pre>
<a name="HTTP_MULT_CHOICE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_MULT_CHOICE</b>
<pre>
 public static final int HTTP_MULT_CHOICE
</pre>
<dl>
  <dd> 3XX: relocation/redirect<p>
</dl>
<a name="HTTP_MOVED_PERM"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_MOVED_PERM</b>
<pre>
 public static final int HTTP_MOVED_PERM
</pre>
<a name="HTTP_MOVED_TEMP"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_MOVED_TEMP</b>
<pre>
 public static final int HTTP_MOVED_TEMP
</pre>
<a name="HTTP_SEE_OTHER"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_SEE_OTHER</b>
<pre>
 public static final int HTTP_SEE_OTHER
</pre>
<a name="HTTP_NOT_MODIFIED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_NOT_MODIFIED</b>
<pre>
 public static final int HTTP_NOT_MODIFIED
</pre>
<a name="HTTP_USE_PROXY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_USE_PROXY</b>
<pre>
 public static final int HTTP_USE_PROXY
</pre>
<a name="HTTP_BAD_REQUEST"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_BAD_REQUEST</b>
<pre>
 public static final int HTTP_BAD_REQUEST
</pre>
<dl>
  <dd> 4XX: client error<p>
</dl>
<a name="HTTP_UNAUTHORIZED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_UNAUTHORIZED</b>
<pre>
 public static final int HTTP_UNAUTHORIZED
</pre>
<a name="HTTP_PAYMENT_REQUIRED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_PAYMENT_REQUIRED</b>
<pre>
 public static final int HTTP_PAYMENT_REQUIRED
</pre>
<a name="HTTP_FORBIDDEN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_FORBIDDEN</b>
<pre>
 public static final int HTTP_FORBIDDEN
</pre>
<a name="HTTP_NOT_FOUND"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_NOT_FOUND</b>
<pre>
 public static final int HTTP_NOT_FOUND
</pre>
<a name="HTTP_BAD_METHOD"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_BAD_METHOD</b>
<pre>
 public static final int HTTP_BAD_METHOD
</pre>
<a name="HTTP_NOT_ACCEPTABLE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_NOT_ACCEPTABLE</b>
<pre>
 public static final int HTTP_NOT_ACCEPTABLE
</pre>
<a name="HTTP_PROXY_AUTH"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_PROXY_AUTH</b>
<pre>
 public static final int HTTP_PROXY_AUTH
</pre>
<a name="HTTP_CLIENT_TIMEOUT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_CLIENT_TIMEOUT</b>
<pre>
 public static final int HTTP_CLIENT_TIMEOUT
</pre>
<a name="HTTP_CONFLICT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_CONFLICT</b>
<pre>
 public static final int HTTP_CONFLICT
</pre>
<a name="HTTP_GONE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_GONE</b>
<pre>
 public static final int HTTP_GONE
</pre>
<a name="HTTP_LENGTH_REQUIRED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_LENGTH_REQUIRED</b>
<pre>
 public static final int HTTP_LENGTH_REQUIRED
</pre>
<a name="HTTP_PRECON_FAILED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_PRECON_FAILED</b>
<pre>
 public static final int HTTP_PRECON_FAILED
</pre>
<a name="HTTP_ENTITY_TOO_LARGE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_ENTITY_TOO_LARGE</b>
<pre>
 public static final int HTTP_ENTITY_TOO_LARGE
</pre>
<a name="HTTP_REQ_TOO_LONG"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_REQ_TOO_LONG</b>
<pre>
 public static final int HTTP_REQ_TOO_LONG
</pre>
<a name="HTTP_UNSUPPORTED_TYPE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_UNSUPPORTED_TYPE</b>
<pre>
 public static final int HTTP_UNSUPPORTED_TYPE
</pre>
<a name="HTTP_SERVER_ERROR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_SERVER_ERROR</b>
<pre>
 public static final int HTTP_SERVER_ERROR
</pre>
<dl>
  <dd> 5XX: server error<p>
</dl>
<a name="HTTP_INTERNAL_ERROR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_INTERNAL_ERROR</b>
<pre>
 public static final int HTTP_INTERNAL_ERROR
</pre>
<a name="HTTP_BAD_GATEWAY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_BAD_GATEWAY</b>
<pre>
 public static final int HTTP_BAD_GATEWAY
</pre>
<a name="HTTP_UNAVAILABLE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_UNAVAILABLE</b>
<pre>
 public static final int HTTP_UNAVAILABLE
</pre>
<a name="HTTP_GATEWAY_TIMEOUT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_GATEWAY_TIMEOUT</b>
<pre>
 public static final int HTTP_GATEWAY_TIMEOUT
</pre>
<a name="HTTP_VERSION"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HTTP_VERSION</b>
<pre>
 public static final int HTTP_VERSION
</pre>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="HttpURLConnection"></a>
<a name="HttpURLConnection(java.net.URL)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>HttpURLConnection</b>
<pre>
 protected HttpURLConnection(<a href="java.net.URL.html#_top_">URL</a> u)
</pre>
<dl>
  <dd> Constructor for the URLStreamHandler.
<p>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="setFollowRedirects(boolean)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setFollowRedirects"><b>setFollowRedirects</b></a>
<pre>
 public static void setFollowRedirects(boolean set)
</pre>
<dl>
  <dd> Sets whether HTTP redirects  (requests with response code 3xx) should 
 be automatically followed by this class.  True by default.  Applets
 cannot change this variable.
<p>
</dl>
<a name="getFollowRedirects()"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getFollowRedirects"><b>getFollowRedirects</b></a>
<pre>
 public static boolean getFollowRedirects()
</pre>
<dl>
</dl>
<a name="setRequestMethod(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setRequestMethod"><b>setRequestMethod</b></a>
<pre>
 public void setRequestMethod(<a href="java.lang.String.html#_top_">String</a> method) throws <a href="java.net.ProtocolException.html#_top_">ProtocolException</a>
</pre>
<dl>
  <dd> Set the method for the URL request, one of:
 <UL>
  <LI>GET
  <LI>POST
  <LI>HEAD
  <LI>OPTIONS
  <LI>PUT
  <LI>DELETE
  <LI>TRACE
 </UL> are legal, subject to protocol restrictions.  The default
 method is GET.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.net.ProtocolException.html#_top_">ProtocolException</a>
    <dd> if the method cannot be reset or if
              the requested method isn't valid for HTTP.
  </dl></dd>
</dl>
<a name="getRequestMethod()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getRequestMethod"><b>getRequestMethod</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> getRequestMethod()
</pre>
<dl>
  <dd> Get the request method.
<p>
</dl>
<a name="getResponseCode()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getResponseCode"><b>getResponseCode</b></a>
<pre>
 public int getResponseCode() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Gets HTTP response status.  From responses like:
 <PRE>
 HTTP/1.0 200 OK
 HTTP/1.0 401 Unauthorized
 </PRE>
 Extracts the ints 200 and 401 respectively.
 Returns -1 if none can be discerned
 from the response (i.e., the response is not valid HTTP).
<p>
</dl>
<a name="getResponseMessage()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getResponseMessage"><b>getResponseMessage</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> getResponseMessage() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Gets the HTTP response message, if any, returned along with the
 response code from a server.  From responses like:
 <PRE>
 HTTP/1.0 200 OK
 HTTP/1.0 404 Not Found
 </PRE>
 Extracts the Strings "OK" and "Not Found" respectively.
 Returns null if none could be discerned from the responses 
 (the result was not valid HTTP).
<p>
</dl>
<a name="disconnect()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="disconnect"><b>disconnect</b></a>
<pre>
 public abstract void disconnect()
</pre>
<dl>
  <dd> Close the connection to the server.
<p>
</dl>
<a name="usingProxy()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="usingProxy"><b>usingProxy</b></a>
<pre>
 public abstract boolean usingProxy()
</pre>
<dl>
  <dd> Indicates if the connection is going through a proxy.
<p>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.net.html">This Package</a>  <a href="java.net.DatagramSocketImpl.html#_top_">Previous</a>  <a href="java.net.InetAddress.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
