Name
javax.microedition.io.HttpConnection
Synopsis
This interface defines the necessary constants and methods for an HTTP connection. For some usage examples, see Chapter 7.
public interfaceHttpConnection
extends javax.microedition.io.ContentConnection { // public class fields public static final StringGET
= "GET"; public static final StringHEAD
= "HEAD"; public static final StringPOST
= "POST"; public static final intHTTP_ACCEPTED
= 202; public static final intHTTP_BAD_GATEWAY
= 502; public static final intHTTP_BAD_METHOD
= 405; public static final intHTTP_BAD_REQUEST
= 400; public static final intHTTP_CLIENT_TIMEOUT
= 408; public static final intHTTP_CONFLICT
= 409; public static final intHTTP_CREATED
= 201; public static final intHTTP_ENTITY_TOO_LARGE
= 413; public static final intHTTP_EXPECT_FAILED
= 417; public static final intHTTP_FORBIDDEN
= 403; public static final intHTTP_GATEWAY_TIMEOUT
= 504; public static final intHTTP_GONE
= 410; public static final intHTTP_INTERNAL_ERROR
= 500; public static final intHTTP_LENGTH_REQUIRED
= 411; public static final intHTTP_MOVED_PERM
= 301; public static final intHTTP_MOVED_TEMP
= 302; public static final intHTTP_MULT_CHOICE
= 300; public static final intHTTP_NO_CONTENT
= 204; public static final intHTTP_NOT_ACCEPTABLE
= 406; public static final intHTTP_NOT_AUTHORITATIVE
= 203; public static final intHTTP_NOT_FOUND
= 404; public static final intHTTP_NOT_IMPLEMENTED
= 501; public static final intHTTP_NOT_MODIFIED ...
Get Wireless Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.