public abstract class HttpURLConnection extends URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
Modifier | Constructor and Description |
---|---|
protected |
HttpURLConnection(URL var0) |
Modifier and Type | Method and Description |
---|---|
abstract void |
disconnect() |
InputStream |
getErrorStream() |
static boolean |
getFollowRedirects() |
long |
getHeaderFieldDate(String var0,
long var1) |
boolean |
getInstanceFollowRedirects() |
Permission |
getPermission() |
String |
getRequestMethod() |
int |
getResponseCode() |
String |
getResponseMessage() |
static void |
setFollowRedirects(boolean var0) |
void |
setInstanceFollowRedirects(boolean var0) |
void |
setRequestMethod(String var0) |
abstract boolean |
usingProxy() |
connect, getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldInt, getHeaderFieldKey, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString
protected String method
protected int responseCode
protected String responseMessage
protected boolean instanceFollowRedirects
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_NO_CONTENT
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_IMPLEMENTED
public static final int HTTP_NOT_MODIFIED
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_USE_PROXY
public static final int HTTP_UNAUTHORIZED
public static final int HTTP_UNSUPPORTED_TYPE
public static final int HTTP_UNAVAILABLE
public static final int HTTP_VERSION
protected HttpURLConnection(URL var0)
public abstract void disconnect()
public InputStream getErrorStream()
public static boolean getFollowRedirects()
public Permission getPermission() throws IOException
getPermission
in class URLConnection
IOException
public String getRequestMethod()
public int getResponseCode() throws IOException
IOException
public String getResponseMessage() throws IOException
IOException
public static void setFollowRedirects(boolean var0)
public void setRequestMethod(String var0) throws ProtocolException
ProtocolException
public abstract boolean usingProxy()
public boolean getInstanceFollowRedirects()
public void setInstanceFollowRedirects(boolean var0)
public long getHeaderFieldDate(String var0, long var1)
getHeaderFieldDate
in class URLConnection
Copyright © 2006–2013 OSGi Alliance. All rights reserved.