Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.1
public abstract class HttpURLConnection extends URLConnection {
// Protected Constructor
protected HttpURLConnection(URL u);
// Constants
public static final int HTTP_ACCEPTED;
public static final int HTTP_BAD_GATEWAY;
public static final int HTTP_BAD_METHOD;
public static final int HTTP_BAD_REQUEST;
public static final int HTTP_CLIENT_TIMEOUT;
public static final int HTTP_CONFLICT;
public static final int HTTP_CREATED;
public static final int HTTP_ENTITY_TOO_LARGE;
public static final int HTTP_FORBIDDEN;
public static final int HTTP_GATEWAY_TIMEOUT;
public static final int HTTP_GONE;
public static final int HTTP_INTERNAL_ERROR;
public static final int HTTP_LENGTH_REQUIRED;
public static final int HTTP_MOVED_PERM;
public static final int HTTP_MOVED_TEMP;
public static final int HTTP_MULT_CHOICE;
public static final int HTTP_NOT_ACCEPTABLE;
public static final int HTTP_NOT_AUTHORITATIVE;
public static final int HTTP_NOT_FOUND;
public static final int HTTP_NOT_MODIFIED;
public static final int HTTP_NO_CONTENT;
public static final int HTTP_OK;
public static final int HTTP_PARTIAL;
public static final int HTTP_PAYMENT_REQUIRED;
public static final int HTTP_PRECON_FAILED;
public static final int HTTP_PROXY_AUTH;
public static final int HTTP_REQ_TOO_LONG;
public static final int HTTP_RESET;
public static final int HTTP_SEE_OTHER;
public static final int HTTP_SERVER_ERROR;
public static final int HTTP_UNAUTHORIZED;
public static final int HTTP_UNAVAILABLE;
public static final int HTTP_UNSUPPORTED_TYPE;
public static final int HTTP_USE_PROXY;
public static final 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();
}