Package org.teavm.classlib.java.net.impl
Class TXHRURLConnection
java.lang.Object
org.teavm.classlib.java.net.TURLConnection
org.teavm.classlib.java.net.THttpURLConnection
org.teavm.classlib.java.net.impl.TXHRURLConnection
-
Field Summary
Fields inherited from class org.teavm.classlib.java.net.THttpURLConnection
chunkLength, fixedContentLength, HTTP_ACCEPTED, HTTP_BAD_GATEWAY, HTTP_BAD_METHOD, HTTP_BAD_REQUEST, HTTP_CLIENT_TIMEOUT, HTTP_CONFLICT, HTTP_CREATED, HTTP_ENTITY_TOO_LARGE, HTTP_FORBIDDEN, HTTP_GATEWAY_TIMEOUT, HTTP_GONE, HTTP_INTERNAL_ERROR, HTTP_LENGTH_REQUIRED, HTTP_MOVED_PERM, HTTP_MOVED_TEMP, HTTP_MULT_CHOICE, HTTP_NO_CONTENT, HTTP_NOT_ACCEPTABLE, HTTP_NOT_AUTHORITATIVE, HTTP_NOT_FOUND, HTTP_NOT_IMPLEMENTED, HTTP_NOT_MODIFIED, HTTP_OK, HTTP_PARTIAL, HTTP_PAYMENT_REQUIRED, HTTP_PRECON_FAILED, HTTP_PROXY_AUTH, HTTP_REQ_TOO_LONG, HTTP_RESET, HTTP_SEE_OTHER, HTTP_SERVER_ERROR, HTTP_UNAUTHORIZED, HTTP_UNAVAILABLE, HTTP_UNSUPPORTED_TYPE, HTTP_USE_PROXY, HTTP_VERSION, instanceFollowRedirects, method, responseCode, responseMessageFields inherited from class org.teavm.classlib.java.net.TURLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect()voidgetHeaderField(int pos) getHeaderField(String key) getHeaderFieldKey(int posn) intMethods inherited from class org.teavm.classlib.java.net.THttpURLConnection
getFollowRedirects, getHeaderFieldDate, getInstanceFollowRedirects, getRequestMethod, setChunkedStreamingMode, setFixedLengthStreamingMode, setFollowRedirects, setInstanceFollowRedirects, setRequestMethodMethods inherited from class org.teavm.classlib.java.net.TURLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getHeaderFieldInt, getIfModifiedSince, getLastModified, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, setAllowUserInteraction, setConnectTimeout, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
Constructor Details
-
TXHRURLConnection
-
-
Method Details
-
disconnect
public void disconnect()- Specified by:
disconnectin classTHttpURLConnection
-
connect
- Specified by:
connectin classTURLConnection- Throws:
IOException
-
getHeaderFieldKey
- Overrides:
getHeaderFieldKeyin classTURLConnection
-
getHeaderField
- Overrides:
getHeaderFieldin classTURLConnection
-
getHeaderField
- Overrides:
getHeaderFieldin classTURLConnection
-
getHeaderFields
- Overrides:
getHeaderFieldsin classTURLConnection
-
getInputStream
- Overrides:
getInputStreamin classTURLConnection- Throws:
IOException
-
getResponseCode
- Overrides:
getResponseCodein classTHttpURLConnection- Throws:
IOException
-
getResponseMessage
- Overrides:
getResponseMessagein classTHttpURLConnection- Throws:
IOException
-
getErrorStream
- Overrides:
getErrorStreamin classTHttpURLConnection
-
getOutputStream
- Overrides:
getOutputStreamin classTURLConnection- Throws:
IOException
-