Package javax.microedition.io
Interface HttpConnection
- All Superinterfaces:
Connection
,ContentConnection
,InputConnection
,OutputConnection
,StreamConnection
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String
-
Method Summary
Modifier and TypeMethodDescriptionlong
getDate()
long
getFile()
getHeaderField
(int var0) getHeaderField
(String var0) long
getHeaderFieldDate
(String var0, long var1) int
getHeaderFieldInt
(String var0, int var1) getHeaderFieldKey
(int var0) getHost()
long
int
getPort()
getQuery()
getRef()
getRequestProperty
(String var0) int
getURL()
void
setRequestMethod
(String var0) void
setRequestProperty
(String var0, String var1) Methods inherited from interface javax.microedition.io.Connection
close
Methods inherited from interface javax.microedition.io.ContentConnection
getEncoding, getLength, getType
Methods inherited from interface javax.microedition.io.InputConnection
openDataInputStream, openInputStream
Methods inherited from interface javax.microedition.io.OutputConnection
openDataOutputStream, openOutputStream
-
Field Details
-
GET
- See Also:
-
HEAD
- See Also:
-
POST
- See Also:
-
HTTP_ACCEPTED
static final int HTTP_ACCEPTED- See Also:
-
HTTP_BAD_GATEWAY
static final int HTTP_BAD_GATEWAY- See Also:
-
HTTP_BAD_METHOD
static final int HTTP_BAD_METHOD- See Also:
-
HTTP_BAD_REQUEST
static final int HTTP_BAD_REQUEST- See Also:
-
HTTP_CLIENT_TIMEOUT
static final int HTTP_CLIENT_TIMEOUT- See Also:
-
HTTP_CONFLICT
static final int HTTP_CONFLICT- See Also:
-
HTTP_CREATED
static final int HTTP_CREATED- See Also:
-
HTTP_ENTITY_TOO_LARGE
static final int HTTP_ENTITY_TOO_LARGE- See Also:
-
HTTP_EXPECT_FAILED
static final int HTTP_EXPECT_FAILED- See Also:
-
HTTP_FORBIDDEN
static final int HTTP_FORBIDDEN- See Also:
-
HTTP_GATEWAY_TIMEOUT
static final int HTTP_GATEWAY_TIMEOUT- See Also:
-
HTTP_GONE
static final int HTTP_GONE- See Also:
-
HTTP_INTERNAL_ERROR
static final int HTTP_INTERNAL_ERROR- See Also:
-
HTTP_LENGTH_REQUIRED
static final int HTTP_LENGTH_REQUIRED- See Also:
-
HTTP_MOVED_PERM
static final int HTTP_MOVED_PERM- See Also:
-
HTTP_MOVED_TEMP
static final int HTTP_MOVED_TEMP- See Also:
-
HTTP_MULT_CHOICE
static final int HTTP_MULT_CHOICE- See Also:
-
HTTP_NO_CONTENT
static final int HTTP_NO_CONTENT- See Also:
-
HTTP_NOT_ACCEPTABLE
static final int HTTP_NOT_ACCEPTABLE- See Also:
-
HTTP_NOT_AUTHORITATIVE
static final int HTTP_NOT_AUTHORITATIVE- See Also:
-
HTTP_NOT_FOUND
static final int HTTP_NOT_FOUND- See Also:
-
HTTP_NOT_IMPLEMENTED
static final int HTTP_NOT_IMPLEMENTED- See Also:
-
HTTP_NOT_MODIFIED
static final int HTTP_NOT_MODIFIED- See Also:
-
HTTP_OK
static final int HTTP_OK- See Also:
-
HTTP_PARTIAL
static final int HTTP_PARTIAL- See Also:
-
HTTP_PAYMENT_REQUIRED
static final int HTTP_PAYMENT_REQUIRED- See Also:
-
HTTP_PRECON_FAILED
static final int HTTP_PRECON_FAILED- See Also:
-
HTTP_PROXY_AUTH
static final int HTTP_PROXY_AUTH- See Also:
-
HTTP_REQ_TOO_LONG
static final int HTTP_REQ_TOO_LONG- See Also:
-
HTTP_RESET
static final int HTTP_RESET- See Also:
-
HTTP_SEE_OTHER
static final int HTTP_SEE_OTHER- See Also:
-
HTTP_TEMP_REDIRECT
static final int HTTP_TEMP_REDIRECT- See Also:
-
HTTP_UNAUTHORIZED
static final int HTTP_UNAUTHORIZED- See Also:
-
HTTP_UNAVAILABLE
static final int HTTP_UNAVAILABLE- See Also:
-
HTTP_UNSUPPORTED_RANGE
static final int HTTP_UNSUPPORTED_RANGE- See Also:
-
HTTP_UNSUPPORTED_TYPE
static final int HTTP_UNSUPPORTED_TYPE- See Also:
-
HTTP_USE_PROXY
static final int HTTP_USE_PROXY- See Also:
-
HTTP_VERSION
static final int HTTP_VERSION- See Also:
-
-
Method Details
-
getDate
- Throws:
IOException
-
getExpiration
- Throws:
IOException
-
getFile
String getFile() -
getHeaderField
- Throws:
IOException
-
getHeaderField
- Throws:
IOException
-
getHeaderFieldDate
- Throws:
IOException
-
getHeaderFieldInt
- Throws:
IOException
-
getHeaderFieldKey
- Throws:
IOException
-
getHost
String getHost() -
getLastModified
- Throws:
IOException
-
getPort
int getPort() -
getProtocol
String getProtocol() -
getQuery
String getQuery() -
getRef
String getRef() -
getRequestMethod
String getRequestMethod() -
getRequestProperty
-
getResponseCode
- Throws:
IOException
-
getResponseMessage
- Throws:
IOException
-
getURL
String getURL() -
setRequestMethod
- Throws:
IOException
-
setRequestProperty
- Throws:
IOException
-