Package org.apache.juneau.http
Class HttpResponses
java.lang.Object
org.apache.juneau.http.HttpResponses
Standard predefined HTTP responses.
 
See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final AcceptedA synonym forAccepted.INSTANCE.static final AlreadyReportedA synonym forAlreadyReported.INSTANCE.static final BadRequestA synonym forBadRequest.INSTANCE.static final ConflictA synonym forConflict.INSTANCE.static final ContinueA synonym forContinue.INSTANCE.static final CreatedA synonym forCreated.INSTANCE.static final EarlyHintsA synonym forEarlyHints.INSTANCE.static final ExpectationFailedA synonym forExpectationFailed.INSTANCE.static final FailedDependencyA synonym forFailedDependency.INSTANCE.static final ForbiddenA synonym forForbidden.INSTANCE.static final FoundA synonym forFound.INSTANCE.static final GoneA synonym forGone.INSTANCE.static final HttpVersionNotSupportedA synonym forHttpVersionNotSupported.INSTANCE.static final IMUsedA synonym forIMUsed.INSTANCE.static final InsufficientStorageA synonym forInsufficientStorage.INSTANCE.static final InternalServerErrorA synonym forInternalServerError.INSTANCE.static final LengthRequiredA synonym forLengthRequired.INSTANCE.static final LockedA synonym forLocked.INSTANCE.static final LoopDetectedA synonym forLoopDetected.INSTANCE.static final MethodNotAllowedA synonym forMethodNotAllowed.INSTANCE.static final MisdirectedRequestA synonym forMisdirectedRequest.INSTANCE.static final MovedPermanentlyA synonym forMovedPermanently.INSTANCE.static final MultiStatusA synonym forMultiStatus.INSTANCE.static final MultipleChoicesA synonym forMultipleChoices.INSTANCE.static final NetworkAuthenticationRequiredA synonym forNetworkAuthenticationRequired.INSTANCE.static final NoContentA synonym forNoContent.INSTANCE.static final NonAuthoritiveInformationA synonym forNonAuthoritiveInformation.INSTANCE.static final NotAcceptableA synonym forNotAcceptable.INSTANCE.static final NotExtendedA synonym forNotExtended.INSTANCE.static final NotFoundA synonym forNotFound.INSTANCE.static final NotImplementedA synonym forNotImplemented.INSTANCE.static final NotModifiedA synonym forNotModified.INSTANCE.static final OkA synonym forOk.INSTANCE.static final PartialContentA synonym forPartialContent.INSTANCE.static final PayloadTooLargeA synonym forPayloadTooLarge.INSTANCE.static final PermanentRedirectA synonym forPermanentRedirect.INSTANCE.static final PreconditionFailedA synonym forPreconditionFailed.INSTANCE.static final PreconditionRequiredA synonym forPreconditionRequired.INSTANCE.static final ProcessingA synonym forProcessing.INSTANCE.static final RangeNotSatisfiableA synonym forRangeNotSatisfiable.INSTANCE.static final RequestHeaderFieldsTooLargeA synonym forRequestHeaderFieldsTooLarge.INSTANCE.static final ResetContentA synonym forResetContent.INSTANCE.static final SeeOtherA synonym forSeeOther.INSTANCE.static final ServiceUnavailableA synonym forServiceUnavailable.INSTANCE.static final SwitchingProtocolsA synonym forSwitchingProtocols.INSTANCE.static final TemporaryRedirectA synonym forTemporaryRedirect.INSTANCE.static final TooManyRequestsA synonym forTooManyRequests.INSTANCE.static final UnauthorizedA synonym forUnauthorized.INSTANCE.static final UnavailableForLegalReasonsA synonym forUnavailableForLegalReasons.INSTANCE.static final UnprocessableEntityA synonym forUnprocessableEntity.INSTANCE.static final UnsupportedMediaTypeA synonym forUnsupportedMediaType.INSTANCE.static final UpgradeRequiredA synonym forUpgradeRequired.INSTANCE.static final UriTooLongA synonym forUriTooLong.INSTANCE.static final UseProxyA synonym forUseProxy.INSTANCE.static final VariantAlsoNegotiatesA synonym forVariantAlsoNegotiates.INSTANCE.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic final ContinueA shortcut for callingContinue().static final Acceptedaccepted()A shortcut for callingAccepted().static final AlreadyReportedA shortcut for callingAlreadyReported().static final BadRequestA shortcut for callingBadRequest().static final Conflictconflict()A shortcut for callingConflict().static final Createdcreated()A shortcut for callingCreated().static final EarlyHintsA shortcut for callingEarlyHints().static final ExpectationFailedA shortcut for callingExpectationFailed().static final FailedDependencyA shortcut for callingFailedDependency().static final ForbiddenA shortcut for callingForbidden().static final FoundA shortcut for callingFound().static final Gonegone()A shortcut for callingGone().static final BasicHttpExceptionA shortcut for callingBasicHttpException().static final HttpVersionNotSupportedA shortcut for callingHttpVersionNotSupported().static final IMUsedimUsed()A shortcut for callingIMUsed().static final InsufficientStorageA shortcut for callingInsufficientStorage().static final InternalServerErrorA shortcut for callingInternalServerError().static final LengthRequiredA shortcut for callingLengthRequired().static final Lockedlocked()A shortcut for callingLocked().static final LoopDetectedA shortcut for callingLoopDetected().static final MethodNotAllowedA shortcut for callingMethodNotAllowed().static final MisdirectedRequestA shortcut for callingMisdirectedRequest().static final MovedPermanentlymovedPermanently(String location) A shortcut for callingMovedPermanently().static final MultipleChoicesA shortcut for callingMovedPermanently().static final MultiStatusA shortcut for callingMultiStatus().static final NetworkAuthenticationRequiredA shortcut for callingNetworkAuthenticationRequired().static final NoContentA shortcut for callingNoContent().static final NonAuthoritiveInformationA shortcut for callingNonAuthoritiveInformation().static final NotAcceptableA shortcut for callingNotAcceptable().static final NotExtendedA shortcut for callingNotExtended().static final NotFoundnotFound()A shortcut for callingNotFound().static final NotImplementedA shortcut for callingNotImplemented().static final NotModifiedA shortcut for callingNotModified().static final Okok()A shortcut for callingOk().static final PartialContentA shortcut for callingPartialContent().static final PayloadTooLargeA shortcut for callingPayloadTooLarge().static final PermanentRedirectpermanentRedirect(String location) A shortcut for callingPermanentRedirect().static final PreconditionFailedA shortcut for callingPreconditionFailed().static final PreconditionRequiredA shortcut for callingPreconditionRequired().static final ProcessingA shortcut for callingProcessing().static final RangeNotSatisfiableA shortcut for callingRangeNotSatisfiable().static final RequestHeaderFieldsTooLargeA shortcut for callingRequestHeaderFieldsTooLarge().static final ResetContentA shortcut for callingResetContent().static final SeeOtherA shortcut for callingSeeOther().static final ServiceUnavailableA shortcut for callingServiceUnavailable().static final SwitchingProtocolsA shortcut for callingSwitchingProtocols().static final TemporaryRedirecttemporaryRedirect(String location) A shortcut for callingTemporaryRedirect().static final TooManyRequestsA shortcut for callingTooManyRequests().static final UnauthorizedA shortcut for callingUnauthorized().static final UnavailableForLegalReasonsA shortcut for callingUnavailableForLegalReasons().static final UnprocessableEntityA shortcut for callingUnprocessableEntity().static final UnsupportedMediaTypeA shortcut for callingUnsupportedMediaType().static final UpgradeRequiredA shortcut for callingUpgradeRequired().static final UriTooLongA shortcut for callingUriTooLong().static final UseProxyuseProxy()A shortcut for callingUseProxy().static final VariantAlsoNegotiatesA shortcut for callingVariantAlsoNegotiates().
- 
Field Details- 
ACCEPTEDA synonym forAccepted.INSTANCE.
- 
ALREADY_REPORTEDA synonym forAlreadyReported.INSTANCE.
- 
BAD_REQUESTA synonym forBadRequest.INSTANCE.
- 
CONFLICTA synonym forConflict.INSTANCE.
- 
CONTINUEA synonym forContinue.INSTANCE.
- 
CREATEDA synonym forCreated.INSTANCE.
- 
EARLY_HINTSA synonym forEarlyHints.INSTANCE.
- 
EXPECTATION_FAILEDA synonym forExpectationFailed.INSTANCE.
- 
FAILED_DEPENDENCYA synonym forFailedDependency.INSTANCE.
- 
FORBIDDENA synonym forForbidden.INSTANCE.
- 
FOUNDA synonym forFound.INSTANCE.
- 
GONEA synonym forGone.INSTANCE.
- 
HTTP_VERSION_NOT_SUPPORTEDA synonym forHttpVersionNotSupported.INSTANCE.
- 
IM_USEDA synonym forIMUsed.INSTANCE.
- 
INSUFFICIENT_STORAGEA synonym forInsufficientStorage.INSTANCE.
- 
INTERNAL_SERVER_ERRORA synonym forInternalServerError.INSTANCE.
- 
LENGTH_REQUIREDA synonym forLengthRequired.INSTANCE.
- 
LOCKEDA synonym forLocked.INSTANCE.
- 
LOOP_DETECTEDA synonym forLoopDetected.INSTANCE.
- 
METHOD_NOT_ALLOWEDA synonym forMethodNotAllowed.INSTANCE.
- 
MISDIRECTED_REQUESTA synonym forMisdirectedRequest.INSTANCE.
- 
MOVED_PERMANENTLYA synonym forMovedPermanently.INSTANCE.
- 
MULTI_STATUSA synonym forMultiStatus.INSTANCE.
- 
MULTIPLE_CHOICESA synonym forMultipleChoices.INSTANCE.
- 
NETWORK_AUTHENTICATION_REQUIREDA synonym forNetworkAuthenticationRequired.INSTANCE.
- 
NO_CONTENTA synonym forNoContent.INSTANCE.
- 
NON_AUTHORATIVE_INFORMATIONA synonym forNonAuthoritiveInformation.INSTANCE.
- 
NOT_ACCEPTABLEA synonym forNotAcceptable.INSTANCE.
- 
NOT_EXTENDEDA synonym forNotExtended.INSTANCE.
- 
NOT_FOUNDA synonym forNotFound.INSTANCE.
- 
NOT_IMPLEMENTEDA synonym forNotImplemented.INSTANCE.
- 
NOT_MODIFIEDA synonym forNotModified.INSTANCE.
- 
OKA synonym forOk.INSTANCE.
- 
PARTIAL_CONTENTA synonym forPartialContent.INSTANCE.
- 
PAYLOAD_TOO_LARGEA synonym forPayloadTooLarge.INSTANCE.
- 
PERMANENT_REDIRECTA synonym forPermanentRedirect.INSTANCE.
- 
PRECONDITION_FAILEDA synonym forPreconditionFailed.INSTANCE.
- 
PRECONDITION_REQUIREDA synonym forPreconditionRequired.INSTANCE.
- 
PROCESSINGA synonym forProcessing.INSTANCE.
- 
RANGE_NOT_SATISFIABLEA synonym forRangeNotSatisfiable.INSTANCE.
- 
REQUEST_HEADER_FIELDS_TOO_LARGEA synonym forRequestHeaderFieldsTooLarge.INSTANCE.
- 
RESET_CONTENTA synonym forResetContent.INSTANCE.
- 
SEE_OTHERA synonym forSeeOther.INSTANCE.
- 
SERVICE_UNAVAILABLEA synonym forServiceUnavailable.INSTANCE.
- 
SWITCHING_PROTOCOLSA synonym forSwitchingProtocols.INSTANCE.
- 
TEMPORARY_REDIRECTA synonym forTemporaryRedirect.INSTANCE.
- 
TOO_MANY_REQUESTSA synonym forTooManyRequests.INSTANCE.
- 
UNAUTHORIZEDA synonym forUnauthorized.INSTANCE.
- 
UNAVAILABLE_FOR_LEGAL_REASONSA synonym forUnavailableForLegalReasons.INSTANCE.
- 
UNPROCESSABLE_ENTITIYA synonym forUnprocessableEntity.INSTANCE.
- 
UNSUPPORTED_MEDIA_TYPEA synonym forUnsupportedMediaType.INSTANCE.
- 
UPGRADE_REQUIREDA synonym forUpgradeRequired.INSTANCE.
- 
URI_TOO_LONGA synonym forUriTooLong.INSTANCE.
- 
USE_PROXYA synonym forUseProxy.INSTANCE.
- 
VARIANT_ALSO_NEGOTIATESA synonym forVariantAlsoNegotiates.INSTANCE.
 
- 
- 
Constructor Details- 
HttpResponsespublic HttpResponses()
 
- 
- 
Method Details- 
_continueA shortcut for callingContinue().- Returns:
- A new bean.
 
- 
acceptedA shortcut for callingAccepted().- Returns:
- A new bean.
 
- 
alreadyReportedA shortcut for callingAlreadyReported().- Returns:
- A new bean.
 
- 
badRequestA shortcut for callingBadRequest().- Returns:
- A new bean builder.
 
- 
conflictA shortcut for callingConflict().- Returns:
- A new bean builder.
 
- 
createdA shortcut for callingCreated().- Returns:
- A new bean.
 
- 
earlyHintsA shortcut for callingEarlyHints().- Returns:
- A new bean.
 
- 
expectationFailedA shortcut for callingExpectationFailed().- Returns:
- A new bean builder.
 
- 
failedDependencyA shortcut for callingFailedDependency().- Returns:
- A new bean builder.
 
- 
forbiddenA shortcut for callingForbidden().- Returns:
- A new bean builder.
 
- 
foundA shortcut for callingFound().- Parameters:
- location- The value for the Location header.
- Returns:
- A new bean.
 
- 
goneA shortcut for callingGone().- Returns:
- A new bean builder.
 
- 
httpExceptionA shortcut for callingBasicHttpException().- Returns:
- A new bean builder.
 
- 
httpVersionNotSupportedA shortcut for callingHttpVersionNotSupported().- Returns:
- A new bean builder.
 
- 
imUsedA shortcut for callingIMUsed().- Returns:
- A new bean.
 
- 
insufficientStorageA shortcut for callingInsufficientStorage().- Returns:
- A new bean builder.
 
- 
internalServerErrorA shortcut for callingInternalServerError().- Returns:
- A new bean builder.
 
- 
lengthRequiredA shortcut for callingLengthRequired().- Returns:
- A new bean builder.
 
- 
lockedA shortcut for callingLocked().- Returns:
- A new bean builder.
 
- 
loopDetectedA shortcut for callingLoopDetected().- Returns:
- A new bean builder.
 
- 
methodNotAllowedA shortcut for callingMethodNotAllowed().- Returns:
- A new bean builder.
 
- 
misdirectedRequestA shortcut for callingMisdirectedRequest().- Returns:
- A new bean builder.
 
- 
movedPermanentlyA shortcut for callingMovedPermanently().- Parameters:
- location- The value for the Location header.
- Returns:
- A new bean.
 
- 
multipleChoicesA shortcut for callingMovedPermanently().- Returns:
- A new bean.
 
- 
multiStatusA shortcut for callingMultiStatus().- Returns:
- A new bean.
 
- 
networkAuthenticationRequiredA shortcut for callingNetworkAuthenticationRequired().- Returns:
- A new bean builder.
 
- 
noContentA shortcut for callingNoContent().- Returns:
- A new bean.
 
- 
nonAuthoritiveInformationA shortcut for callingNonAuthoritiveInformation().- Returns:
- A new bean.
 
- 
notAcceptableA shortcut for callingNotAcceptable().- Returns:
- A new bean builder.
 
- 
notExtendedA shortcut for callingNotExtended().- Returns:
- A new bean builder.
 
- 
notFoundA shortcut for callingNotFound().- Returns:
- A new bean builder.
 
- 
notImplementedA shortcut for callingNotImplemented().- Returns:
- A new bean builder.
 
- 
notModifiedA shortcut for callingNotModified().- Returns:
- A new bean.
 
- 
okA shortcut for callingOk().- Returns:
- A new bean.
 
- 
partialContentA shortcut for callingPartialContent().- Returns:
- A new bean.
 
- 
payloadTooLargeA shortcut for callingPayloadTooLarge().- Returns:
- A new bean builder.
 
- 
permanentRedirectA shortcut for callingPermanentRedirect().- Parameters:
- location- The value for the Location header.
- Returns:
- A new bean.
 
- 
preconditionFailedA shortcut for callingPreconditionFailed().- Returns:
- A new bean builder.
 
- 
preconditionRequiredA shortcut for callingPreconditionRequired().- Returns:
- A new bean builder.
 
- 
processingA shortcut for callingProcessing().- Returns:
- A new bean.
 
- 
rangeNotSatisfiableA shortcut for callingRangeNotSatisfiable().- Returns:
- A new bean builder.
 
- 
requestHeaderFieldsTooLargeA shortcut for callingRequestHeaderFieldsTooLarge().- Returns:
- A new bean builder.
 
- 
resetContentA shortcut for callingResetContent().- Returns:
- A new bean.
 
- 
seeOtherA shortcut for callingSeeOther().- Parameters:
- location- The value for the Location header.
- Returns:
- A new bean.
 
- 
switchingProtocolsA shortcut for callingSwitchingProtocols().- Returns:
- A new bean.
 
- 
temporaryRedirectA shortcut for callingTemporaryRedirect().- Parameters:
- location- The value for the Location header.
- Returns:
- A new bean.
 
- 
tooManyRequestsA shortcut for callingTooManyRequests().- Returns:
- A new bean builder.
 
- 
unauthorizedA shortcut for callingUnauthorized().- Returns:
- A new bean builder.
 
- 
unprocessableEntityA shortcut for callingUnprocessableEntity().- Returns:
- A new bean builder.
 
- 
unsupportedMediaTypeA shortcut for callingUnsupportedMediaType().- Returns:
- A new bean builder.
 
- 
upgradeRequiredA shortcut for callingUpgradeRequired().- Returns:
- A new bean builder.
 
- 
uriTooLongA shortcut for callingUriTooLong().- Returns:
- A new bean builder.
 
- 
useProxyA shortcut for callingUseProxy().- Returns:
- A new bean.
 
- 
variantAlsoNegotiatesA shortcut for callingVariantAlsoNegotiates().- Returns:
- A new bean builder.
 
 
-