ariba.util.core
Class HTTP

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

public class HTTP
extends java.lang.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 java.lang.String AuthSchemeBasic
           
static java.lang.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 java.lang.String ConnectionClose
           
static java.lang.String CookieDomain
           
static java.lang.String CookiePath
           
static java.lang.String CookieVersion
           
static java.lang.String GetMethod
           
static java.lang.String HeaderAccept
           
static java.lang.String HeaderAcceptEncoding
           
static java.lang.String HeaderAcceptLanguage
           
static java.lang.String HeaderAllow
           
static java.lang.String HeaderAuthorization
           
static java.lang.String HeaderChargeTo
           
static java.lang.String HeaderConnection
           
static java.lang.String HeaderContentEncoding
           
static java.lang.String HeaderCookie
           
static java.lang.String HeaderExpires
           
static java.lang.String HeaderFrom
           
static java.lang.String HeaderHost
           
static java.lang.String HeaderIfModifiedSince
           
static java.lang.String HeaderLastModified
           
static java.lang.String HeaderLocation
           
static java.lang.String HeaderPragma
           
static java.lang.String HeaderReferer
           
static java.lang.String HeaderRemoteAddr
           
static java.lang.String HeaderRemoteHost
           
static java.lang.String HeaderRetryAfter
           
static java.lang.String HeaderSetCookie
           
static java.lang.String HeaderUserAgent
           
static java.lang.String HeaderWWWAuthenticate
           
static java.lang.String HeadMethod
           
static java.lang.String MsgAccepted
           
static java.lang.String MsgBadGateway
           
static java.lang.String MsgBadRequest
           
static java.lang.String MsgConflict
           
static java.lang.String MsgContinue
           
static java.lang.String MsgCreated
           
static java.lang.String MsgForbidden
           
static java.lang.String MsgGatewayTimeOut
           
static java.lang.String MsgGone
           
static java.lang.String MsgHTTPVersionNotSupported
           
static java.lang.String MsgInternalServerError
           
static java.lang.String MsgLengthRequired
           
static java.lang.String MsgMethodNotAllowed
           
static java.lang.String MsgMovedPermanently
           
static java.lang.String MsgMovedTemporarily
           
static java.lang.String MsgMultipleChoices
           
static java.lang.String MsgNoContent
           
static java.lang.String MsgNonAuthoritativeInformation
           
static java.lang.String MsgNotAcceptable
           
static java.lang.String MsgNotFound
           
static java.lang.String MsgNotImplemented
           
static java.lang.String MsgNotModified
           
static java.lang.String MsgOK
           
static java.lang.String MsgPartialContent
           
static java.lang.String MsgPaymentRequired
           
static java.lang.String MsgPreconditionFailed
           
static java.lang.String MsgProxyAuthenticationRequired
           
static java.lang.String MsgRequestEntityTooLarge
           
static java.lang.String MsgRequestTimeOut
           
static java.lang.String MsgRequestURITooLarge
           
static java.lang.String MsgResetContent
           
static java.lang.String MsgSeeOther
           
static java.lang.String MsgServiceUnavailable
           
static java.lang.String MsgSwitchingProtocols
           
static java.lang.String MsgUnauthorized
           
static java.lang.String MsgUnsupportedMediaType
           
static java.lang.String MsgUseProxy
           
static int Port
          default port number for HTTP connections
static java.lang.String PostMethod
           
static java.lang.String PragmaNoCache
           
static java.lang.String Protocol
          the name of the HTTP protocol
static int SecurePort
          default port number for HTTPS connections
static java.lang.String SecureProtocol
          the name of the HTTPS protocol
static java.lang.String Version10
          the version 1.0 of HTTP supported
static java.lang.String Version11
          the version 1.1 of HTTP supported
static double VersionNumber10
           
static double VersionNumber11
           
 
Constructor Summary
HTTP()
           
 
Method Summary
static java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String GetMethod
See Also:
Constant Field Values

PostMethod

public static final java.lang.String PostMethod
See Also:
Constant Field Values

HeadMethod

public static final java.lang.String HeadMethod
See Also:
Constant Field Values

HeaderContentEncoding

public static final java.lang.String HeaderContentEncoding
See Also:
Constant Field Values

HeaderExpires

public static final java.lang.String HeaderExpires
See Also:
Constant Field Values

HeaderLastModified

public static final java.lang.String HeaderLastModified
See Also:
Constant Field Values

HeaderAllow

public static final java.lang.String HeaderAllow
See Also:
Constant Field Values

HeaderUserAgent

public static final java.lang.String HeaderUserAgent
See Also:
Constant Field Values

HeaderCookie

public static final java.lang.String HeaderCookie
See Also:
Constant Field Values

HeaderSetCookie

public static final java.lang.String HeaderSetCookie
See Also:
Constant Field Values

HeaderFrom

public static final java.lang.String HeaderFrom
See Also:
Constant Field Values

HeaderAccept

public static final java.lang.String HeaderAccept
See Also:
Constant Field Values

HeaderAcceptEncoding

public static final java.lang.String HeaderAcceptEncoding
See Also:
Constant Field Values

HeaderAcceptLanguage

public static final java.lang.String HeaderAcceptLanguage
See Also:
Constant Field Values

HeaderReferer

public static final java.lang.String HeaderReferer
See Also:
Constant Field Values

HeaderAuthorization

public static final java.lang.String HeaderAuthorization
See Also:
Constant Field Values

HeaderChargeTo

public static final java.lang.String HeaderChargeTo
See Also:
Constant Field Values

HeaderIfModifiedSince

public static final java.lang.String HeaderIfModifiedSince
See Also:
Constant Field Values

HeaderHost

public static final java.lang.String HeaderHost
See Also:
Constant Field Values

CookieVersion

public static final java.lang.String CookieVersion
See Also:
Constant Field Values

CookieDomain

public static final java.lang.String CookieDomain
See Also:
Constant Field Values

CookiePath

public static final java.lang.String CookiePath
See Also:
Constant Field Values

HeaderRemoteAddr

public static final java.lang.String HeaderRemoteAddr
See Also:
Constant Field Values

HeaderRemoteHost

public static final java.lang.String HeaderRemoteHost
See Also:
Constant Field Values

HeaderLocation

public static final java.lang.String HeaderLocation
See Also:
Constant Field Values

HeaderPragma

public static final java.lang.String HeaderPragma
See Also:
Constant Field Values

PragmaNoCache

public static final java.lang.String PragmaNoCache
See Also:
Constant Field Values

HeaderWWWAuthenticate

public static final java.lang.String HeaderWWWAuthenticate
See Also:
Constant Field Values

AuthSchemeBasic

public static final java.lang.String AuthSchemeBasic
See Also:
Constant Field Values

AuthSchemeBasicWithRealm

public static final java.lang.String AuthSchemeBasicWithRealm
See Also:
Constant Field Values

HeaderConnection

public static final java.lang.String HeaderConnection
See Also:
Constant Field Values

ConnectionClose

public static final java.lang.String ConnectionClose
See Also:
Constant Field Values

HeaderRetryAfter

public static final java.lang.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 java.lang.String MsgContinue
See Also:
Constant Field Values

MsgSwitchingProtocols

public static final java.lang.String MsgSwitchingProtocols
See Also:
Constant Field Values

MsgOK

public static final java.lang.String MsgOK
See Also:
Constant Field Values

MsgCreated

public static final java.lang.String MsgCreated
See Also:
Constant Field Values

MsgAccepted

public static final java.lang.String MsgAccepted
See Also:
Constant Field Values

MsgNonAuthoritativeInformation

public static final java.lang.String MsgNonAuthoritativeInformation
See Also:
Constant Field Values

MsgNoContent

public static final java.lang.String MsgNoContent
See Also:
Constant Field Values

MsgResetContent

public static final java.lang.String MsgResetContent
See Also:
Constant Field Values

MsgPartialContent

public static final java.lang.String MsgPartialContent
See Also:
Constant Field Values

MsgMultipleChoices

public static final java.lang.String MsgMultipleChoices
See Also:
Constant Field Values

MsgMovedPermanently

public static final java.lang.String MsgMovedPermanently
See Also:
Constant Field Values

MsgMovedTemporarily

public static final java.lang.String MsgMovedTemporarily
See Also:
Constant Field Values

MsgSeeOther

public static final java.lang.String MsgSeeOther
See Also:
Constant Field Values

MsgNotModified

public static final java.lang.String MsgNotModified
See Also:
Constant Field Values

MsgUseProxy

public static final java.lang.String MsgUseProxy
See Also:
Constant Field Values

MsgBadRequest

public static final java.lang.String MsgBadRequest
See Also:
Constant Field Values

MsgUnauthorized

public static final java.lang.String MsgUnauthorized
See Also:
Constant Field Values

MsgPaymentRequired

public static final java.lang.String MsgPaymentRequired
See Also:
Constant Field Values

MsgForbidden

public static final java.lang.String MsgForbidden
See Also:
Constant Field Values

MsgNotFound

public static final java.lang.String MsgNotFound
See Also:
Constant Field Values

MsgMethodNotAllowed

public static final java.lang.String MsgMethodNotAllowed
See Also:
Constant Field Values

MsgNotAcceptable

public static final java.lang.String MsgNotAcceptable
See Also:
Constant Field Values

MsgProxyAuthenticationRequired

public static final java.lang.String MsgProxyAuthenticationRequired
See Also:
Constant Field Values

MsgRequestTimeOut

public static final java.lang.String MsgRequestTimeOut
See Also:
Constant Field Values

MsgConflict

public static final java.lang.String MsgConflict
See Also:
Constant Field Values

MsgGone

public static final java.lang.String MsgGone
See Also:
Constant Field Values

MsgLengthRequired

public static final java.lang.String MsgLengthRequired
See Also:
Constant Field Values

MsgPreconditionFailed

public static final java.lang.String MsgPreconditionFailed
See Also:
Constant Field Values

MsgRequestEntityTooLarge

public static final java.lang.String MsgRequestEntityTooLarge
See Also:
Constant Field Values

MsgRequestURITooLarge

public static final java.lang.String MsgRequestURITooLarge
See Also:
Constant Field Values

MsgUnsupportedMediaType

public static final java.lang.String MsgUnsupportedMediaType
See Also:
Constant Field Values

MsgInternalServerError

public static final java.lang.String MsgInternalServerError
See Also:
Constant Field Values

MsgNotImplemented

public static final java.lang.String MsgNotImplemented
See Also:
Constant Field Values

MsgBadGateway

public static final java.lang.String MsgBadGateway
See Also:
Constant Field Values

MsgServiceUnavailable

public static final java.lang.String MsgServiceUnavailable
See Also:
Constant Field Values

MsgGatewayTimeOut

public static final java.lang.String MsgGatewayTimeOut
See Also:
Constant Field Values

MsgHTTPVersionNotSupported

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

HTTP

public HTTP()
Method Detail

message

public static final java.lang.String message(int code)


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