const long HTTP_ACCEPTED = 202;
const long HTTP_BAD_GATEWAY = 502;
const long HTTP_BAD_METHOD = 405;
const long HTTP_BAD_REQUEST = 400;
const long HTTP_CLIENT_TIMEOUT = 408;
const long HTTP_CONFLICT = 409;
const long HTTP_CONTINUE = 100;
const long HTTP_CREATED = 201;
const long HTTP_ENTITY_TOO_LARGE = 413;
const long HTTP_EXPECTATION_FAILED = 417;
const long HTTP_FORBIDDEN = 403;
const long HTTP_FOUND = 302;
const long HTTP_GATEWAY_TIMEOUT = 504;
const long HTTP_GONE = 410;
const long HTTP_INTERNAL_ERROR = 501;
const long HTTP_LENGTH_REQUIRED = 411;
const long HTTP_MOVED_PERM = 301;
const long HTTP_MOVED_TEMP = 302;
const long HTTP_MULT_CHOICE = 300;
const long HTTP_NO_CONTENT = 204;
const long HTTP_NOT_ACCEPTABLE = 406;
const long HTTP_NOT_AUTHORITATIVE = 203;
const long HTTP_NOT_FOUND = 404;
const long HTTP_NOT_MODIFIED = 304;
const long HTTP_OK = 200;
const long HTTP_PARTIAL = 206;
const long HTTP_PAYMENT_REQUIRED = 402;
const long HTTP_PRECON_FAILED = 412;
const long HTTP_PROXY_AUTH = 407;
const long HTTP_RANGE_NOT_SATISFY = 416;
const long HTTP_REQ_TOO_LONG = 414;
const long HTTP_RESET = 205;
const long HTTP_SEE_OTHER = 303;
const long HTTP_SERVER_ERROR = 500;
const long HTTP_SWITCHING_PROTOCOLS = 101;
const long HTTP_UNAUTHORIZED = 401;
const long HTTP_UNAVAILABLE = 503;
const long HTTP_UNSUPPORTED_TYPE = 415;
const long HTTP_USE_PROXY = 305;
const long HTTP_VERSION = 505;
Thrown to indicate that there is an error in accessing an accessor method.
exception IllegalAccessException { string message; long error; };
For example, it is an error to setDoInput() after the HttpURLConnection has been made.
See java.net.ProtocolException for details.
Thrown to indicate that there is an error in the property.
exception InvalidPropertyException { string message; long error; };
Typical invalid properties include NULL or "" (empty) values.
Thrown to indicate that there is an error in the value.
exception InvalidValueException { string message; long error; };
Typical invalid values include NULL or "" (empty) values.
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
exception ProtocolException { string message; long error; };
See java.net.ProtocolException for details.
Transport Exception. Represents network related exception conditions which may include:
exception TransportException { string message; boolean wasNetworkRelated; long error; boolean wasSSLRelated; long sclerr; long proterr; long drverr; long oserr; };
wasNetworkRelated == 1
See CtsSecurity::TransportException for Network details.
wasSSLRelated == 1
See CtsSecurity::SSLException for SSL details.
typedef NetComponents::NVP NameValuePair;
Structure to represent a {name,value} pair.
struct NVP { string name; string value; };
typedef sequence < NetComponents::NameValuePair > RequestHeaders;
typedef sequence < NetComponents::NameValuePair > ResponseHeaders;
typedef sequence < NetComponents::NameValuePair > SSLProperties;