Uses of Class
org.apache.juneau.http.classic.response.BasicHttpException
Packages that use BasicHttpException
Package
Description
Predefined HTTP headers, parts, entities, resources, and responses built on the classic Apache HttpComponents API.
HTTP Response Exception Beans
-
Uses of BasicHttpException in org.apache.juneau.http.classic
Methods in org.apache.juneau.http.classic that return BasicHttpExceptionModifier and TypeMethodDescriptionstatic final BasicHttpExceptionHttpResponses.httpException()A shortcut for callingBasicHttpException(). -
Uses of BasicHttpException in org.apache.juneau.http.classic.response
Subclasses of BasicHttpException in org.apache.juneau.http.classic.responseModifier and TypeClassDescriptionclassException representing an HTTP 400 (Bad Request).static classUnmodifiable point-in-time snapshot of the enclosingBadRequestexception.static classUnmodifiable point-in-time snapshot of the enclosingBasicHttpException.classException representing an HTTP 409 (Conflict).static classUnmodifiable point-in-time snapshot of the enclosingConflictexception.classException representing an HTTP 417 (Expectation Failed).static classUnmodifiable point-in-time snapshot of the enclosingExpectationFailedexception.classException representing an HTTP 424 (Failed Dependency).static classUnmodifiable point-in-time snapshot of the enclosingFailedDependencyexception.classException representing an HTTP 403 (Forbidden).static classUnmodifiable point-in-time snapshot of the enclosingForbiddenexception.classException representing an HTTP 410 ().static classUnmodifiable point-in-time snapshot of the enclosingGoneexception.classException representing an HTTP 505 ().static classUnmodifiable point-in-time snapshot of the enclosingHttpVersionNotSupportedexception.classException representing an HTTP 507 ().static classUnmodifiable point-in-time snapshot of the enclosingInsufficientStorageexception.classException representing an HTTP 500 (Internal Server Error).static classUnmodifiable point-in-time snapshot of the enclosingInternalServerErrorexception.classException representing an HTTP 411 ().static classUnmodifiable point-in-time snapshot of the enclosingLengthRequiredexception.classException representing an HTTP 423 (Locked).static classUnmodifiable point-in-time snapshot of the enclosingLockedexception.classException representing an HTTP 508 (Loop Detected).static classUnmodifiable point-in-time snapshot of the enclosingLoopDetectedexception.classException representing an HTTP 405 (Method Not Allowed).static classUnmodifiable point-in-time snapshot of the enclosingMethodNotAllowedexception.classException representing an HTTP 421 (Misdirected Request).static classUnmodifiable point-in-time snapshot of the enclosingMisdirectedRequestexception.classException representing an HTTP 511 (Network Authentication Required).static classUnmodifiable point-in-time snapshot of the enclosingNetworkAuthenticationRequiredexception.classException representing an HTTP 406 (Not Acceptable).static classUnmodifiable point-in-time snapshot of the enclosingNotAcceptableexception.classException representing an HTTP 510 (Not Extended).static classUnmodifiable point-in-time snapshot of the enclosingNotExtendedexception.classException representing an HTTP 404 (Not Found).static classUnmodifiable point-in-time snapshot of the enclosingNotFoundexception.classException representing an HTTP 501 (Not Implemented).static classUnmodifiable point-in-time snapshot of the enclosingNotImplementedexception.classException representing an HTTP 413 (Payload Too Large).static classUnmodifiable point-in-time snapshot of the enclosingPayloadTooLargeexception.classException representing an HTTP 412 (Precondition Failed).static classUnmodifiable point-in-time snapshot of the enclosingPreconditionFailedexception.classException representing an HTTP 428 (Precondition Required).static classUnmodifiable point-in-time snapshot of the enclosingPreconditionRequiredexception.classException representing an HTTP 416 (Range Not Satisfiable).static classUnmodifiable point-in-time snapshot of the enclosingRangeNotSatisfiableexception.classException representing an HTTP 431 (Request Header Fields Too Large).static classUnmodifiable point-in-time snapshot of the enclosingRequestHeaderFieldsTooLargeexception.classException representing an HTTP 503 (Service Unavailable).static classUnmodifiable point-in-time snapshot of the enclosingServiceUnavailableexception.classException representing an HTTP 429 (Too Many Requests).static classUnmodifiable point-in-time snapshot of the enclosingTooManyRequestsexception.classException representing an HTTP 401 (Unauthorized).static classUnmodifiable point-in-time snapshot of the enclosingUnauthorizedexception.classException representing an HTTP 451 (Unavailable For Legal Reasons).static classUnmodifiable point-in-time snapshot of the enclosingUnavailableForLegalReasonsexception.classException representing an HTTP 422 (Unprocessable Entity).static classUnmodifiable point-in-time snapshot of the enclosingUnprocessableEntityexception.classException representing an HTTP 415 (Unsupported Media Type).static classUnmodifiable point-in-time snapshot of the enclosingUnsupportedMediaTypeexception.classException representing an HTTP 426 (Upgrade Required).static classUnmodifiable point-in-time snapshot of the enclosingUpgradeRequiredexception.classException representing an HTTP 414 (URI Too Long).static classUnmodifiable point-in-time snapshot of the enclosingUriTooLongexception.classException representing an HTTP 506 (Variant Also Negotiate).static classUnmodifiable point-in-time snapshot of the enclosingVariantAlsoNegotiatesexception.Methods in org.apache.juneau.http.classic.response that return BasicHttpExceptionModifier and TypeMethodDescriptionprotected BasicHttpExceptionprotected BasicHttpExceptionSingle mutation funnel — the only choke-point through which all state changes on this bean flow.protected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionprotected BasicHttpExceptionBasicHttpException.setContent(String value) Sets the body on this response.BasicHttpException.setContent(HttpEntity value) Sets the body on this response.BasicHttpException.setHeader2(String name, Object value) Sets a header on this response.BasicHttpException.setHeaders(List<Header> values) Sets the specified headers on this response.BasicHttpException.setHeaders(HeaderList value) Sets the specified headers on this response.BasicHttpException.setHeaders2(Header... values) Sets multiple headers on this response.BasicHttpException.setLocale2(Locale value) Sets the locale used to retrieve reason phrases.BasicHttpException.setMessage(String message, Object... args) BasicHttpException.setProtocolVersion(ProtocolVersion value) Sets the protocol version on the status line.BasicHttpException.setReasonPhrase2(String value) Sets the reason phrase on the status line.BasicHttpException.setReasonPhraseCatalog(ReasonPhraseCatalog value) Sets the reason phrase catalog used to retrieve reason phrases.BasicHttpException.setStatusCode2(int code) Same assetStatusCode(int)but returns this object.BasicHttpException.setStatusLine(BasicStatusLine value) Sets the protocol version on the status line.BasicHttpException.unmodifiable()Returns an unmodifiable snapshot of this bean.Constructors in org.apache.juneau.http.classic.response with parameters of type BasicHttpExceptionModifierConstructorDescriptionprotectedBasicHttpException(BasicHttpException copyFrom) Copy constructor.protectedUnmodifiable(BasicHttpException copyFrom) Constructor.