Uses of Class
org.apache.juneau.http.response.BasicHttpException
Packages that use BasicHttpException
Package
Description
HTTP Response Exception Beans
REST Server API
REST Method Argument Beans
REST Response Converters
REST Guards
HTTP Response Processors
Predefined SVL Variables
-
Uses of BasicHttpException in org.apache.juneau.http
Methods in org.apache.juneau.http that return BasicHttpExceptionModifier and TypeMethodDescriptionstatic final BasicHttpException
HttpResponses.httpException()
A shortcut for callingBasicHttpException()
. -
Uses of BasicHttpException in org.apache.juneau.http.response
Subclasses of BasicHttpException in org.apache.juneau.http.responseModifier and TypeClassDescriptionclass
Exception representing an HTTP 400 (Bad Request).class
Exception representing an HTTP 409 (Conflict).class
Exception representing an HTTP 417 (Expectation Failed).class
Exception representing an HTTP 424 (Failed Dependency).class
Exception representing an HTTP 403 (Forbidden).class
Exception representing an HTTP 410 ().class
Exception representing an HTTP 505 ().class
Exception representing an HTTP 507 ().class
Exception representing an HTTP 500 (Internal Server Error).class
Exception representing an HTTP 411 ().class
Exception representing an HTTP 423 (Locked).class
Exception representing an HTTP 508 (Loop Detected).class
Exception representing an HTTP 405 (Method Not Allowed).class
Exception representing an HTTP 421 (Misdirected Request).class
Exception representing an HTTP 511 (Network Authentication Required).class
Exception representing an HTTP 406 (Not Acceptable).class
Exception representing an HTTP 510 (Not Extended).class
Exception representing an HTTP 404 (Not Found).class
Exception representing an HTTP 501 (Not Implemented).class
Exception representing an HTTP 413 (Payload Too Large).class
Exception representing an HTTP 412 (Precondition Failed).class
Exception representing an HTTP 428 (Precondition Required).class
Exception representing an HTTP 416 (Range Not Satisfiable).class
Exception representing an HTTP 431 (Request Header Fields Too Large).class
Exception representing an HTTP 503 (Service Unavailable).class
Exception representing an HTTP 429 (Too Many Requests).class
Exception representing an HTTP 401 (Unauthorized).class
Exception representing an HTTP 451 (Unavailable For Legal Reasons).class
Exception representing an HTTP 422 (Unprocessable Entity).class
Exception representing an HTTP 415 (Unsupported Media Type).class
Exception representing an HTTP 426 (Upgrade Required).class
Exception representing an HTTP 414 (URI Too Long).class
Exception representing an HTTP 506 (Variant Also Negotiate).Methods in org.apache.juneau.http.response that return BasicHttpExceptionModifier and TypeMethodDescriptionBasicHttpException.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.setUnmodifiable()
Specifies whether this bean should be unmodifiable.Constructors in org.apache.juneau.http.response with parameters of type BasicHttpExceptionModifierConstructorDescriptionprotected
BasicHttpException
(BasicHttpException copyFrom) Copy constructor. -
Uses of BasicHttpException in org.apache.juneau.rest
Methods in org.apache.juneau.rest that throw BasicHttpExceptionModifier and TypeMethodDescriptionprotected void
RestContext.processResponse
(RestOpSession opSession) The main method for serializing POJOs passed in through theRestResponse.setContent(Object)
method or returned by the Java method.protected void
RestContext.startCall
(RestSession session) Called at the start of a request to invoke allRestStartCall
methods. -
Uses of BasicHttpException in org.apache.juneau.rest.arg
Subclasses of BasicHttpException in org.apache.juneau.rest.argModifier and TypeClassDescriptionclass
General exception due to a malformed Java parameter. -
Uses of BasicHttpException in org.apache.juneau.rest.converter
Methods in org.apache.juneau.rest.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.guard
Methods in org.apache.juneau.rest.guard that throw BasicHttpExceptionModifier and TypeMethodDescriptionboolean
RestGuard.guard
(RestRequest req, RestResponse res) Checks the current HTTP request and throws aBasicHttpException
if the guard does not permit the request. -
Uses of BasicHttpException in org.apache.juneau.rest.httppart
Methods in org.apache.juneau.rest.httppart that throw BasicHttpExceptionModifier and TypeMethodDescription<T> Optional<T>
Converts this part to the specified POJO type using the requestHttpPartParser
and optional schema.<T> Optional<T>
Converts this part to the specified POJO type using the requestHttpPartParser
and optional schema.<T> Optional<T>
Converts this part to the specified POJO type using the requestHttpPartParser
and 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.RequestHeader.getElements()
Parses the value. -
Uses of BasicHttpException in org.apache.juneau.rest.processor
Methods in org.apache.juneau.rest.processor that throw BasicHttpExceptionModifier and TypeMethodDescriptionint
PlainTextPojoProcessor.process
(RestOpSession opSession) int
ResponseProcessor.process
(RestOpSession opSession) Process this response if possible.int
SerializedPojoProcessor.process
(RestOpSession opSession) -
Uses of BasicHttpException in org.apache.juneau.rest.vars
Methods in org.apache.juneau.rest.vars that throw BasicHttpExceptionModifier and TypeMethodDescriptionRequestSwaggerVar.resolve
(VarResolverSession session, String key)