Class java.net.HttpURLConnection (1.1)


public abstract class HttpURLConnection extends URLConnection {
  // Protected Constructor
    protected HttpURLConnection(URL u);
  // Constants
    public final static int HTTP_ACCEPTED;
    public final static int HTTP_BAD_GATEWAY;
    public final static int HTTP_BAD_METHOD;
    public final static int HTTP_BAD_REQUEST;
    public final static int HTTP_CLIENT_TIMEOUT;
    public final static int HTTP_CONFLICT;
    public final static int HTTP_CREATED;
    public final static int HTTP_ENTITY_TOO_LARGE;
    public final static int HTTP_FORBIDDEN;
    public final static int HTTP_GATEWAY_TIMEOUT;
    public final static int HTTP_GONE;
    public final static int HTTP_INTERNAL_ERROR;
    public final static int HTTP_LENGTH_REQUIRED;
    public final static int HTTP_MOVED_PERM;
    public final static int HTTP_MOVED_TEMP;
    public final static int HTTP_MULT_CHOICE;
    public final static int HTTP_NOT_ACCEPTABLE;
    public final static int HTTP_NOT_AUTHORITATIVE;
    public final static int HTTP_NOT_FOUND;
    public final static int HTTP_NOT_MODIFIED;
    public final static int HTTP_NO_CONTENT;
    public final static int HTTP_OK;
    public final static int HTTP_PARTIAL;
    public final static int HTTP_PAYMENT_REQUIRED;
    public final static int HTTP_PRECON_FAILED;
    public final static int HTTP_PROXY_AUTH;
    public final static int HTTP_REQ_TOO_LONG;
    public final static int HTTP_RESET;
    public final static int HTTP_SEE_OTHER;
    public final static int HTTP_SERVER_ERROR;
    public final static int HTTP_UNAUTHORIZED;
    public final static int HTTP_UNAVAILABLE;
    public final static int HTTP_UNSUPPORTED_TYPE;
    public final static int HTTP_USE_PROXY;
    public final static int HTTP_VERSION;
  // Protected Instance Variables
    protected String method;
    protected int responseCode;
    protected String responseMessage;
  // Class Methods
    public static boolean getFollowRedirects( );
    public static void setFollowRedirects(boolean set);
  // Public Instance Methods
    public abstract void disconnect( );
    public String getRequestMethod( );
    public int getResponseCode( ) throws IOException;
    public String getResponseMessage( ) throws IOException;
    public void setRequestMethod(String method) throws ProtocolException;
    public abstract boolean usingProxy( );
}