ariba.util.core
Class HTTP

java.lang.Object
  extended by ariba.util.core.HTTP

public class HTTP
extends Object

HTTP. The HTTP/1.0 protocol. http://info.internet.isi.edu/in-notes/rfc/files/rfc1945.txt Status codes from HTTP/1.1 protocol http://info.internet.isi.edu/in-notes/rfc/files/rfc2068.txt


Field Summary
static String AuthSchemeBasic
           
static String AuthSchemeBasicWithRealm
           
static int CodeAccepted
           
static int CodeBadGateway
           
static int CodeBadRequest
           
static int CodeConflict
           
static int CodeContinue
           
static int CodeCreated
           
static int CodeForbidden
           
static int CodeGatewayTimeOut
           
static int CodeGone
           
static int CodeHTTPVersionNotSupported
           
static int CodeInternalServerError
           
static int CodeLengthRequired
           
static int CodeMethodNotAllowed
           
static int CodeMovedPermanently
           
static int CodeMovedTemporarily
           
static int CodeMultipleChoices
           
static int CodeNoContent
           
static int CodeNonAuthoritativeInformation
           
static int CodeNotAcceptable
           
static int CodeNotFound
           
static int CodeNotImplemented
           
static int CodeNotModified
           
static int CodeOK
           
static int CodePartialContent
           
static int CodePaymentRequired
           
static int CodePreconditionFailed
           
static int CodeProxyAuthenticationRequired
           
static int CodeRequestEntityTooLarge
           
static int CodeRequestTimeOut
           
static int CodeRequestURITooLarge
           
static int CodeResetContent
           
static int CodeSeeOther
           
static int CodeServiceUnavailable
           
static int CodeSwitchingProtocols
           
static int CodeUnauthorized
           
static int CodeUnsupportedMediaType
           
static int CodeUseProxy
           
static String ConnectionClose
           
static String CookieDomain
           
static String CookiePath
           
static String CookieVersion
           
static String GetMethod
           
static String HeaderAccept
           
static String HeaderAcceptEncoding
           
static String HeaderAcceptLanguage
           
static String HeaderAllow
           
static String HeaderAuthorization
           
static String HeaderChargeTo
           
static String HeaderConnection
           
static String HeaderContentEncoding
           
static String HeaderCookie
           
static String HeaderExpires
           
static String HeaderFrom
           
static String HeaderHost
           
static String HeaderIfModifiedSince
           
static String HeaderLastModified
           
static String HeaderLocation
           
static String HeaderPragma
           
static String HeaderReferer
           
static String HeaderRemoteAddr
           
static String HeaderRemoteHost
           
static String HeaderRetryAfter
           
static String HeaderSetCookie
           
static String HeaderUserAgent
           
static String HeaderWWWAuthenticate
           
static String HeadMethod
           
static String MsgAccepted
           
static String MsgBadGateway
           
static String MsgBadRequest
           
static String MsgConflict
           
static String MsgContinue
           
static String MsgCreated
           
static String MsgForbidden
           
static String MsgGatewayTimeOut
           
static String MsgGone
           
static String MsgHTTPVersionNotSupported
           
static String MsgInternalServerError
           
static String MsgLengthRequired
           
static String MsgMethodNotAllowed
           
static String MsgMovedPermanently
           
static String MsgMovedTemporarily
           
static String MsgMultipleChoices
           
static String MsgNoContent
           
static String MsgNonAuthoritativeInformation
           
static String MsgNotAcceptable
           
static String MsgNotFound
           
static String MsgNotImplemented
           
static String MsgNotModified
           
static String MsgOK
           
static String MsgPartialContent
           
static String MsgPaymentRequired
           
static String MsgPreconditionFailed
           
static String MsgProxyAuthenticationRequired
           
static String MsgRequestEntityTooLarge
           
static String MsgRequestTimeOut
           
static String MsgRequestURITooLarge
           
static String MsgResetContent
           
static String MsgSeeOther
           
static String MsgServiceUnavailable
           
static String MsgSwitchingProtocols
           
static String MsgUnauthorized
           
static String MsgUnsupportedMediaType
           
static String MsgUseProxy
           
static int Port
          default port number for HTTP connections
static String PostMethod
           
static String PragmaNoCache
           
static String Protocol
          the name of the HTTP protocol
static int SecurePort
          default port number for HTTPS connections
static String SecureProtocol
          the name of the HTTPS protocol
static String Version10
          the version 1.0 of HTTP supported
static String Version11
          the version 1.1 of HTTP supported
static double VersionNumber10
           
static double VersionNumber11
           
 
Constructor Summary
HTTP()
           
 
Method Summary
static String message(int code)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Version10

public static final String Version10
the version 1.0 of HTTP supported

See Also:
Constant Field Values

VersionNumber10

public static final double VersionNumber10
See Also:
Constant Field Values

Version11

public static final String Version11
the version 1.1 of HTTP supported

See Also:
Constant Field Values

VersionNumber11

public static final double VersionNumber11
See Also:
Constant Field Values

Protocol

public static final String Protocol
the name of the HTTP protocol

See Also:
Constant Field Values

Port

public static final int Port
default port number for HTTP connections

See Also:
Constant Field Values

SecureProtocol

public static final String SecureProtocol
the name of the HTTPS protocol

See Also:
Constant Field Values

SecurePort

public static final int SecurePort
default port number for HTTPS connections

See Also:
Constant Field Values

GetMethod

public static final String GetMethod
See Also:
Constant Field Values

PostMethod

public static final String PostMethod
See Also:
Constant Field Values

HeadMethod

public static final String HeadMethod
See Also:
Constant Field Values

HeaderContentEncoding

public static final String HeaderContentEncoding
See Also:
Constant Field Values

HeaderExpires

public static final String HeaderExpires
See Also:
Constant Field Values

HeaderLastModified

public static final String HeaderLastModified
See Also:
Constant Field Values

HeaderAllow

public static final String HeaderAllow
See Also:
Constant Field Values

HeaderUserAgent

public static final String HeaderUserAgent
See Also:
Constant Field Values

HeaderCookie

public static final String HeaderCookie
See Also:
Constant Field Values

HeaderSetCookie

public static final String HeaderSetCookie
See Also:
Constant Field Values

HeaderFrom

public static final String HeaderFrom
See Also:
Constant Field Values

HeaderAccept

public static final String HeaderAccept
See Also:
Constant Field Values

HeaderAcceptEncoding

public static final String HeaderAcceptEncoding
See Also:
Constant Field Values

HeaderAcceptLanguage

public static final String HeaderAcceptLanguage
See Also:
Constant Field Values

HeaderReferer

public static final String HeaderReferer
See Also:
Constant Field Values

HeaderAuthorization

public static final String HeaderAuthorization
See Also:
Constant Field Values

HeaderChargeTo

public static final String HeaderChargeTo
See Also:
Constant Field Values

HeaderIfModifiedSince

public static final String HeaderIfModifiedSince
See Also:
Constant Field Values

HeaderHost

public static final String HeaderHost
See Also:
Constant Field Values

CookieVersion

public static final String CookieVersion
See Also:
Constant Field Values

CookieDomain

public static final String CookieDomain
See Also:
Constant Field Values

CookiePath

public static final String CookiePath
See Also:
Constant Field Values

HeaderRemoteAddr

public static final String HeaderRemoteAddr
See Also:
Constant Field Values

HeaderRemoteHost

public static final String HeaderRemoteHost
See Also:
Constant Field Values

HeaderLocation

public static final String HeaderLocation
See Also:
Constant Field Values

HeaderPragma

public static final String HeaderPragma
See Also:
Constant Field Values

PragmaNoCache

public static final String PragmaNoCache
See Also:
Constant Field Values

HeaderWWWAuthenticate

public static final String HeaderWWWAuthenticate
See Also:
Constant Field Values

AuthSchemeBasic

public static final String AuthSchemeBasic
See Also:
Constant Field Values

AuthSchemeBasicWithRealm

public static final String AuthSchemeBasicWithRealm
See Also:
Constant Field Values

HeaderConnection

public static final String HeaderConnection
See Also:
Constant Field Values

ConnectionClose

public static final String ConnectionClose
See Also:
Constant Field Values

HeaderRetryAfter

public static final String HeaderRetryAfter
See Also:
Constant Field Values

CodeContinue

public static final int CodeContinue
See Also:
Constant Field Values

CodeSwitchingProtocols

public static final int CodeSwitchingProtocols
See Also:
Constant Field Values

CodeOK

public static final int CodeOK
See Also:
Constant Field Values

CodeCreated

public static final int CodeCreated
See Also:
Constant Field Values

CodeAccepted

public static final int CodeAccepted
See Also:
Constant Field Values

CodeNonAuthoritativeInformation

public static final int CodeNonAuthoritativeInformation
See Also:
Constant Field Values

CodeNoContent

public static final int CodeNoContent
See Also:
Constant Field Values

CodeResetContent

public static final int CodeResetContent
See Also:
Constant Field Values

CodePartialContent

public static final int CodePartialContent
See Also:
Constant Field Values

CodeMultipleChoices

public static final int CodeMultipleChoices
See Also:
Constant Field Values

CodeMovedPermanently

public static final int CodeMovedPermanently
See Also:
Constant Field Values

CodeMovedTemporarily

public static final int CodeMovedTemporarily
See Also:
Constant Field Values

CodeSeeOther

public static final int CodeSeeOther
See Also:
Constant Field Values

CodeNotModified

public static final int CodeNotModified
See Also:
Constant Field Values

CodeUseProxy

public static final int CodeUseProxy
See Also:
Constant Field Values

CodeBadRequest

public static final int CodeBadRequest
See Also:
Constant Field Values

CodeUnauthorized

public static final int CodeUnauthorized
See Also:
Constant Field Values

CodePaymentRequired

public static final int CodePaymentRequired
See Also:
Constant Field Values

CodeForbidden

public static final int CodeForbidden
See Also:
Constant Field Values

CodeNotFound

public static final int CodeNotFound
See Also:
Constant Field Values

CodeMethodNotAllowed

public static final int CodeMethodNotAllowed
See Also:
Constant Field Values

CodeNotAcceptable

public static final int CodeNotAcceptable
See Also:
Constant Field Values

CodeProxyAuthenticationRequired

public static final int CodeProxyAuthenticationRequired
See Also:
Constant Field Values

CodeRequestTimeOut

public static final int CodeRequestTimeOut
See Also:
Constant Field Values

CodeConflict

public static final int CodeConflict
See Also:
Constant Field Values

CodeGone

public static final int CodeGone
See Also:
Constant Field Values

CodeLengthRequired

public static final int CodeLengthRequired
See Also:
Constant Field Values

CodePreconditionFailed

public static final int CodePreconditionFailed
See Also:
Constant Field Values

CodeRequestEntityTooLarge

public static final int CodeRequestEntityTooLarge
See Also:
Constant Field Values

CodeRequestURITooLarge

public static final int CodeRequestURITooLarge
See Also:
Constant Field Values

CodeUnsupportedMediaType

public static final int CodeUnsupportedMediaType
See Also:
Constant Field Values

CodeInternalServerError

public static final int CodeInternalServerError
See Also:
Constant Field Values

CodeNotImplemented

public static final int CodeNotImplemented
See Also:
Constant Field Values

CodeBadGateway

public static final int CodeBadGateway
See Also:
Constant Field Values

CodeServiceUnavailable

public static final int CodeServiceUnavailable
See Also:
Constant Field Values

CodeGatewayTimeOut

public static final int CodeGatewayTimeOut
See Also:
Constant Field Values

CodeHTTPVersionNotSupported

public static final int CodeHTTPVersionNotSupported
See Also:
Constant Field Values

MsgContinue

public static final String MsgContinue
See Also:
Constant Field Values

MsgSwitchingProtocols

public static final String MsgSwitchingProtocols
See Also:
Constant Field Values

MsgOK

public static final String MsgOK
See Also:
Constant Field Values

MsgCreated

public static final String MsgCreated
See Also:
Constant Field Values

MsgAccepted

public static final String MsgAccepted
See Also:
Constant Field Values

MsgNonAuthoritativeInformation

public static final String MsgNonAuthoritativeInformation
See Also:
Constant Field Values

MsgNoContent

public static final String MsgNoContent
See Also:
Constant Field Values

MsgResetContent

public static final String MsgResetContent
See Also:
Constant Field Values

MsgPartialContent

public static final String MsgPartialContent
See Also:
Constant Field Values

MsgMultipleChoices

public static final String MsgMultipleChoices
See Also:
Constant Field Values

MsgMovedPermanently

public static final String MsgMovedPermanently
See Also:
Constant Field Values

MsgMovedTemporarily

public static final String MsgMovedTemporarily
See Also:
Constant Field Values

MsgSeeOther

public static final String MsgSeeOther
See Also:
Constant Field Values

MsgNotModified

public static final String MsgNotModified
See Also:
Constant Field Values

MsgUseProxy

public static final String MsgUseProxy
See Also:
Constant Field Values

MsgBadRequest

public static final String MsgBadRequest
See Also:
Constant Field Values

MsgUnauthorized

public static final String MsgUnauthorized
See Also:
Constant Field Values

MsgPaymentRequired

public static final String MsgPaymentRequired
See Also:
Constant Field Values

MsgForbidden

public static final String MsgForbidden
See Also:
Constant Field Values

MsgNotFound

public static final String MsgNotFound
See Also:
Constant Field Values

MsgMethodNotAllowed

public static final String MsgMethodNotAllowed
See Also:
Constant Field Values

MsgNotAcceptable

public static final String MsgNotAcceptable
See Also:
Constant Field Values

MsgProxyAuthenticationRequired

public static final String MsgProxyAuthenticationRequired
See Also:
Constant Field Values

MsgRequestTimeOut

public static final String MsgRequestTimeOut
See Also:
Constant Field Values

MsgConflict

public static final String MsgConflict
See Also:
Constant Field Values

MsgGone

public static final String MsgGone
See Also:
Constant Field Values

MsgLengthRequired

public static final String MsgLengthRequired
See Also:
Constant Field Values

MsgPreconditionFailed

public static final String MsgPreconditionFailed
See Also:
Constant Field Values

MsgRequestEntityTooLarge

public static final String MsgRequestEntityTooLarge
See Also:
Constant Field Values

MsgRequestURITooLarge

public static final String MsgRequestURITooLarge
See Also:
Constant Field Values

MsgUnsupportedMediaType

public static final String MsgUnsupportedMediaType
See Also:
Constant Field Values

MsgInternalServerError

public static final String MsgInternalServerError
See Also:
Constant Field Values

MsgNotImplemented

public static final String MsgNotImplemented
See Also:
Constant Field Values

MsgBadGateway

public static final String MsgBadGateway
See Also:
Constant Field Values

MsgServiceUnavailable

public static final String MsgServiceUnavailable
See Also:
Constant Field Values

MsgGatewayTimeOut

public static final String MsgGatewayTimeOut
See Also:
Constant Field Values

MsgHTTPVersionNotSupported

public static final String MsgHTTPVersionNotSupported
See Also:
Constant Field Values
Constructor Detail

HTTP

public HTTP()
Method Detail

message

public static final String message(int code)


AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.