Package java.net

Class HttpURLConnection

java.lang.Object
java.net.URLConnection
java.net.HttpURLConnection

public abstract class HttpURLConnection extends URLConnection
  • Field Details

  • Constructor Details

    • HttpURLConnection

      protected HttpURLConnection(URL var0)
  • Method Details

    • disconnect

      public abstract void disconnect()
    • getErrorStream

      public InputStream getErrorStream()
    • getFollowRedirects

      public static boolean getFollowRedirects()
    • getInstanceFollowRedirects

      public boolean getInstanceFollowRedirects()
    • getRequestMethod

      public String getRequestMethod()
    • getResponseCode

      public int getResponseCode() throws IOException
      Throws:
      IOException
    • getResponseMessage

      public String getResponseMessage() throws IOException
      Throws:
      IOException
    • setFollowRedirects

      public static void setFollowRedirects(boolean var0)
    • setInstanceFollowRedirects

      public void setInstanceFollowRedirects(boolean var0)
    • setRequestMethod

      public void setRequestMethod(String var0) throws ProtocolException
      Throws:
      ProtocolException
    • usingProxy

      public abstract boolean usingProxy()