Uses of Class
org.apache.juneau.http.response.BasicHttpException
Packages that use BasicHttpException
Package
Description
Adapters that build
Problem beans from Juneau HTTP error types.Server helpers for console data sources:
SeriesSource streams
rows as CSV or NDJSON, and SeriesAggregator answers the
aggregate request a data source sends when its result is too large to load raw.Next-generation HTTP response types.
REST Server API
REST Method Argument Beans
Authentication (AuthN) guards, servlet-layer filters, SPIs, and request-time helpers for
juneau-rest-server.REST Response Converters
REST Guards
REST HTTP Parts
HTTP Response Processors
Reactive-Streams return-type support for
@RestOp handlers (opt-in, dependency-free).Tracing SPI for
juneau-rest-server — per-request span hook backed by a
caller-supplied TracerHook bean.Optional Jakarta Bean Validation 3.x
integration for
juneau-rest-server — declarative validation of request beans via
jakarta.validation.constraints.* annotations.Predefined SVL Variables
Apache FreeMarker view-rendering bridge — opt-in
juneau-rest-server-view-freemarker
module.JSP view-rendering bridge — opt-in
juneau-rest-server-view-jsp module.Mustache view-rendering bridge — opt-in
juneau-rest-server-view-mustache module.Thymeleaf view-rendering bridge — opt-in
juneau-rest-server-view-thymeleaf module.-
Uses of BasicHttpException in org.apache.juneau.bean.rfc7807.adapter
Methods in org.apache.juneau.bean.rfc7807.adapter with parameters of type BasicHttpExceptionModifier and TypeMethodDescriptionstatic ProblemProblemAdapters.fromException(BasicHttpException e) Builds aProblemfrom aBasicHttpException(or any subclass likeNotFound,InternalServerError, etc). -
Uses of BasicHttpException in org.apache.juneau.console.data
Subclasses of BasicHttpException in org.apache.juneau.console.dataModifier and TypeClassDescriptionstatic final classA rejected aggregate request: HTTP 400 with an E-75 message. -
Uses of BasicHttpException in org.apache.juneau.http.response
Subclasses of BasicHttpException in org.apache.juneau.http.responseModifier and TypeClassDescriptionclassRepresents anHTTP 502 Bad Gateway error response.static classUnmodifiable point-in-time snapshot of the enclosingBadGatewayexception.classRepresents anHTTP 400 Bad Request error response.static classUnmodifiable point-in-time snapshot of the enclosingBadRequestexception.static classUnmodifiable point-in-time snapshot of the enclosingBasicHttpException.classRepresents anHTTP 409 Conflict error response.static classUnmodifiable point-in-time snapshot of the enclosingConflictexception.classRepresents anHTTP 417 Expectation Failed error response.static classUnmodifiable point-in-time snapshot of the enclosingExpectationFailedexception.classRepresents anHTTP 424 Failed Dependency error response.static classUnmodifiable point-in-time snapshot of the enclosingFailedDependencyexception.classRepresents anHTTP 403 Forbidden error response.static classUnmodifiable point-in-time snapshot of the enclosingForbiddenexception.classRepresents anHTTP 504 Gateway Timeout error response.static classUnmodifiable point-in-time snapshot of the enclosingGatewayTimeoutexception.classRepresents anHTTP 410 Gone error response.static classUnmodifiable point-in-time snapshot of the enclosingGoneexception.classRepresents anHTTP 505 HTTP Version Not Supported error response.static classUnmodifiable point-in-time snapshot of the enclosingHttpVersionNotSupportedexception.classRepresents anHTTP 507 Insufficient Storage error response.static classUnmodifiable point-in-time snapshot of the enclosingInsufficientStorageexception.classRepresents anHTTP 500 Internal Server Error error response.static classUnmodifiable point-in-time snapshot of the enclosingInternalServerErrorexception.classRepresents anHTTP 411 Length Required error response.static classUnmodifiable point-in-time snapshot of the enclosingLengthRequiredexception.classRepresents anHTTP 423 Locked error response.static classUnmodifiable point-in-time snapshot of the enclosingLockedexception.classRepresents anHTTP 508 Loop Detected error response.static classUnmodifiable point-in-time snapshot of the enclosingLoopDetectedexception.classRepresents anHTTP 405 Method Not Allowed error response.static classUnmodifiable point-in-time snapshot of the enclosingMethodNotAllowedexception.classRepresents anHTTP 421 Misdirected Request error response.static classUnmodifiable point-in-time snapshot of the enclosingMisdirectedRequestexception.classRepresents anHTTP 511 Network Authentication Required error response.static classUnmodifiable point-in-time snapshot of the enclosingNetworkAuthenticationRequiredexception.classRepresents anHTTP 406 Not Acceptable error response.static classUnmodifiable point-in-time snapshot of the enclosingNotAcceptableexception.classRepresents anHTTP 510 Not Extended error response.static classUnmodifiable point-in-time snapshot of the enclosingNotExtendedexception.classRepresents anHTTP 404 Not Found error response.static classUnmodifiable point-in-time snapshot of the enclosingNotFoundexception.classRepresents anHTTP 501 Not Implemented error response.static classUnmodifiable point-in-time snapshot of the enclosingNotImplementedexception.classRepresents anHTTP 413 Payload Too Large error response.static classUnmodifiable point-in-time snapshot of the enclosingPayloadTooLargeexception.classRepresents anHTTP 412 Precondition Failed error response.static classUnmodifiable point-in-time snapshot of the enclosingPreconditionFailedexception.classRepresents anHTTP 428 Precondition Required error response.static classUnmodifiable point-in-time snapshot of the enclosingPreconditionRequiredexception.classRepresents anHTTP 416 Range Not Satisfiable error response.static classUnmodifiable point-in-time snapshot of the enclosingRangeNotSatisfiableexception.classRepresents anHTTP 431 Request Header Fields Too Large error response.static classUnmodifiable point-in-time snapshot of the enclosingRequestHeaderFieldsTooLargeexception.classRepresents anHTTP 503 Service Unavailable error response.static classUnmodifiable point-in-time snapshot of the enclosingServiceUnavailableexception.classRepresents anHTTP 429 Too Many Requests error response.static classUnmodifiable point-in-time snapshot of the enclosingTooManyRequestsexception.classRepresents anHTTP 401 Unauthorized error response.static classUnmodifiable point-in-time snapshot of the enclosingUnauthorizedexception.classRepresents anHTTP 451 Unavailable For Legal Reasons error response.static classUnmodifiable point-in-time snapshot of the enclosingUnavailableForLegalReasonsexception.classRepresents anHTTP 422 Unprocessable Entity error response.static classUnmodifiable point-in-time snapshot of the enclosingUnprocessableEntityexception.classRepresents anHTTP 415 Unsupported Media Type error response.static classUnmodifiable point-in-time snapshot of the enclosingUnsupportedMediaTypeexception.classRepresents anHTTP 426 Upgrade Required error response.static classUnmodifiable point-in-time snapshot of the enclosingUpgradeRequiredexception.classRepresents anHTTP 414 URI Too Long error response.static classUnmodifiable point-in-time snapshot of the enclosingUriTooLongexception.classRepresents anHTTP 506 Variant Also Negotiates error response.static classUnmodifiable point-in-time snapshot of the enclosingVariantAlsoNegotiatesexception.Methods in org.apache.juneau.http.response that return BasicHttpExceptionModifier and TypeMethodDescriptionAppends a header to the end of the header list.BasicHttpException.addHeader(HttpHeader value) Appends a header to the end of the header list.protected BasicHttpExceptionprotected 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 BasicHttpExceptionprotected BasicHttpExceptionSets the response body.BasicHttpException.setContent(String value) Sets the response body to a plain-text string body (UTF-8,text/plain).BasicHttpException.setContent(HttpBody value) Sets the response body.Sets a single header, replacing any existing header with the same name.BasicHttpException.setHeader(HttpHeader value) Sets a single header, replacing any existing header with the same name.BasicHttpException.setHeaders(List<HttpHeader> values) Replaces all headers with the given list.BasicHttpException.setHeaders(HttpHeader... values) Replaces all headers with the given array.Sets the locale associated with this response.BasicHttpException.setProtocolVersion(HttpProtocolVersion value) Sets the protocol version, preserving the existing status code and reason phrase.BasicHttpException.setReasonPhrase(String value) Sets the reason phrase, preserving the existing protocol version and status code.BasicHttpException.setStatusCode(int value) Sets the status code, preserving the existing protocol version and reason phrase.BasicHttpException.setStatusLine(HttpStatusLine value) Sets the status line.BasicHttpException.unmodifiable()Returns an unmodifiable snapshot of this bean.Constructors in org.apache.juneau.http.response with parameters of type BasicHttpExceptionModifierConstructorDescriptionprotectedBasicHttpException(BasicHttpException copyFrom) Copy constructor.protectedUnmodifiable(BasicHttpException copyFrom) Constructor. -
Uses of BasicHttpException in org.apache.juneau.rest.server
Fields in org.apache.juneau.rest.server declared as BasicHttpExceptionMethods in org.apache.juneau.rest.server that return types with arguments of type BasicHttpExceptionModifier and TypeMethodDescriptionRestRequest.checkPreconditions(RestResponse response) Evaluates the conditional-request headers on this request against the response's currently-setETag andLast-Modified values.Methods in org.apache.juneau.rest.server that throw BasicHttpExceptionModifier and TypeMethodDescriptionvoidRestContext.processResponse(RestOpSession opSession) The main method for serializing POJOs passed in through theRestResponse.setContent(Object)method or returned by the Java method.protected voidRestContext.startCall(RestSession session) Called at the start of a request to invoke allRestStartCallmethods on this context. -
Uses of BasicHttpException in org.apache.juneau.rest.server.arg
Subclasses of BasicHttpException in org.apache.juneau.rest.server.argModifier and TypeClassDescriptionclassGeneral exception due to a malformed Java parameter. -
Uses of BasicHttpException in org.apache.juneau.rest.server.auth
Subclasses of BasicHttpException in org.apache.juneau.rest.server.authModifier and TypeClassDescriptionclassSpecialization ofUnauthorizedthrown byBearerTokenGuard,ApiKeyGuard, and user-suppliedTokenValidator/ApiKeyStoreimplementations to signal AuthN failure. -
Uses of BasicHttpException in org.apache.juneau.rest.server.converter
Methods in org.apache.juneau.rest.server.converter that throw BasicHttpExceptionModifier and TypeMethodDescriptionRestConverter.convert(RestRequest req, Object res) Performs post-call conversion on the specified response object.Traversable.convert(RestRequest req, Object o) -
Uses of BasicHttpException in org.apache.juneau.rest.server.guard
Methods in org.apache.juneau.rest.server.guard that throw BasicHttpExceptionModifier and TypeMethodDescriptionbooleanRestGuard.guard(RestRequest req, RestResponse res) Checks the current HTTP request and throws aBasicHttpExceptionif the guard does not permit the request. -
Uses of BasicHttpException in org.apache.juneau.rest.server.httppart
Methods in org.apache.juneau.rest.server.httppart that throw BasicHttpExceptionModifier and TypeMethodDescription<T> Optional<T>Converts this part to the specified POJO type using the requestHttpPartParserand optional schema.<T> Optional<T>Converts this part to the specified POJO type using the requestHttpPartParserand optional schema.<T> Optional<T>Converts this part to the specified POJO type using the requestHttpPartParserand optional schema.Matches the specified pattern against this part value.Matches the specified pattern against this part value.Matches the specified pattern against this part value. -
Uses of BasicHttpException in org.apache.juneau.rest.server.processor
Methods in org.apache.juneau.rest.server.processor that throw BasicHttpExceptionModifier and TypeMethodDescriptionintAsyncResponseProcessor.process(RestOpSession opSession) intPlainTextPojoProcessor.process(RestOpSession opSession) intResponseProcessor.process(RestOpSession opSession) Process this response if possible.intSerializedPojoProcessor.process(RestOpSession opSession) -
Uses of BasicHttpException in org.apache.juneau.rest.server.reactive
Methods in org.apache.juneau.rest.server.reactive that throw BasicHttpException -
Uses of BasicHttpException in org.apache.juneau.rest.server.tracing
Methods in org.apache.juneau.rest.server.tracing that throw BasicHttpExceptionModifier and TypeMethodDescriptionintTraceContextResponseProcessor.process(RestOpSession opSession) -
Uses of BasicHttpException in org.apache.juneau.rest.server.validation
Subclasses of BasicHttpException in org.apache.juneau.rest.server.validationModifier and TypeClassDescriptionclassSpecialization ofBadRequestthrown byBeanValidatorwhen one or more Jakarta Bean Validation constraints on a@Content,@FormData, or@Request-bound parameter are violated. -
Uses of BasicHttpException in org.apache.juneau.rest.server.vars
Methods in org.apache.juneau.rest.server.vars that throw BasicHttpExceptionModifier and TypeMethodDescriptionRequestSwaggerVar.resolve(VarResolverSession session, String key) -
Uses of BasicHttpException in org.apache.juneau.rest.server.view.freemarker
Methods in org.apache.juneau.rest.server.view.freemarker that throw BasicHttpExceptionModifier and TypeMethodDescriptionintFreemarkerViewRenderer.process(RestOpSession opSession) voidFreemarkerDispatcher.render(String path, RestRequest req, RestResponse res) Renders a raw template through the FreeMarker engine onto the response.voidFreemarkerMixin.render(String path, RestRequest req, RestResponse res) [GET /freemarker/*] — render a raw template through the FreeMarker engine. -
Uses of BasicHttpException in org.apache.juneau.rest.server.view.jsp
Methods in org.apache.juneau.rest.server.view.jsp that throw BasicHttpException -
Uses of BasicHttpException in org.apache.juneau.rest.server.view.mustache
Methods in org.apache.juneau.rest.server.view.mustache that throw BasicHttpExceptionModifier and TypeMethodDescriptionintMustacheViewRenderer.process(RestOpSession opSession) voidMustacheDispatcher.render(String path, RestRequest req, RestResponse res) Renders a raw template through the Mustache engine onto the response.voidMustacheMixin.render(String path, RestRequest req, RestResponse res) [GET /mustache/*] — render a raw template through the Mustache engine. -
Uses of BasicHttpException in org.apache.juneau.rest.server.view.thymeleaf
Methods in org.apache.juneau.rest.server.view.thymeleaf that throw BasicHttpExceptionModifier and TypeMethodDescriptionintThymeleafViewRenderer.process(RestOpSession opSession) voidThymeleafDispatcher.render(String path, RestRequest req, RestResponse res) Renders a raw template through the Thymeleaf engine onto the response.voidThymeleafMixin.render(String path, RestRequest req, RestResponse res) [GET /thymeleaf/*] — render a raw template through the Thymeleaf engine.