Uses of Class
jakarta.ws.rs.WebApplicationException
-
Packages that use WebApplicationException Package Description jakarta.ws.rs High-level interfaces and annotations used to create RESTful service resources.jakarta.ws.rs.core Low-level interfaces and annotations used to create RESTful service resources.jakarta.ws.rs.ext APIs that provide extensions to the types supported by the JAX-RS API.org.jboss.resteasy.client.exception org.jboss.resteasy.core org.jboss.resteasy.core.interception.jaxrs org.jboss.resteasy.plugins.interceptors org.jboss.resteasy.plugins.providers org.jboss.resteasy.plugins.providers.atom org.jboss.resteasy.plugins.providers.jackson org.jboss.resteasy.plugins.providers.jaxb org.jboss.resteasy.plugins.providers.jsonp org.jboss.resteasy.plugins.providers.multipart org.jboss.resteasy.plugins.providers.sse org.jboss.resteasy.spi -
-
Uses of WebApplicationException in jakarta.ws.rs
Subclasses of WebApplicationException in jakarta.ws.rs Modifier and Type Class Description classBadRequestExceptionA runtime exception indicating abad client request.classClientErrorExceptionA base runtime application exception indicating a client request error (HTTP4xxstatus codes).classForbiddenExceptionA runtime exception indicating that an access to a resource requested by a client has beenforbiddenby the server.classInternalServerErrorExceptionA runtime exception indicating aninternal server error.classNotAcceptableExceptionA runtime exception indicating that a client request isnot acceptableby the server.classNotAllowedExceptionA runtime exception indicating a client requesting a resource method that isnot allowed.classNotAuthorizedExceptionA runtime exception indicating request authorization failure caused by one of the following scenarios: a client did not send the required authorization credentials to access the requested resource, i.e.classNotFoundExceptionA runtime exception indicating a resource requested by a client wasnot foundon the server.classNotSupportedExceptionA runtime exception indicating that the client request entity media type isnot supported.classRedirectionExceptionA runtime application exception indicating a request redirection (HTTP3xxstatus codes).classServerErrorExceptionA base runtime application exception indicating a server error (HTTP5xxstatus codes).classServiceUnavailableExceptionA runtime exception indicating that the requested resourcecannot be served. -
Uses of WebApplicationException in jakarta.ws.rs.core
Methods in jakarta.ws.rs.core that throw WebApplicationException Modifier and Type Method Description EntityPartEntityPart.Builder. build()Builds a new EntityPart instance using the provided property values.<T> TEntityPart. getContent(GenericType<T> type)Converts the content stream for this part to the specified type and returns it.<T> TEntityPart. getContent(Class<T> type)Converts the content stream for this part to the specified class and returns it.voidStreamingOutput. write(OutputStream output)Called to write the message body. -
Uses of WebApplicationException in jakarta.ws.rs.ext
Methods in jakarta.ws.rs.ext that throw WebApplicationException Modifier and Type Method Description ObjectReaderInterceptor. aroundReadFrom(ReaderInterceptorContext context)voidWriterInterceptor. aroundWriteTo(WriterInterceptorContext context)ObjectReaderInterceptorContext. proceed()Proceed to the next interceptor in the chain.voidWriterInterceptorContext. proceed()Proceed to the next interceptor in the chain.TMessageBodyReader. readFrom(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)Read a type from theInputStream.voidMessageBodyWriter. writeTo(T t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)Write a type to an HTTP message. -
Uses of WebApplicationException in org.jboss.resteasy.client.exception
Classes in org.jboss.resteasy.client.exception with type parameters of type WebApplicationException Modifier and Type Interface Description interfaceWebApplicationExceptionWrapper<T extends WebApplicationException>An interface which allows aWebApplicationExceptionto be unwrapped.Methods in org.jboss.resteasy.client.exception that return WebApplicationException Modifier and Type Method Description WebApplicationExceptionResteasyWebApplicationException. unwrap()static WebApplicationExceptionWebApplicationExceptionWrapper. unwrap(WebApplicationException e)Unwraps the exception if the passed in expression is aWebApplicationExceptionWrapper.static WebApplicationExceptionWebApplicationExceptionWrapper. wrap(WebApplicationException e)If theresteasy.original.webapplicationexception.behavioris set totrueor the request is determined to not be a server side request, then theWebApplicationExceptionpassed in will be returned.Methods in org.jboss.resteasy.client.exception with parameters of type WebApplicationException Modifier and Type Method Description static WebApplicationExceptionWebApplicationExceptionWrapper. unwrap(WebApplicationException e)Unwraps the exception if the passed in expression is aWebApplicationExceptionWrapper.static WebApplicationExceptionWebApplicationExceptionWrapper. wrap(WebApplicationException e)If theresteasy.original.webapplicationexception.behavioris set totrueor the request is determined to not be a server side request, then theWebApplicationExceptionpassed in will be returned.Constructors in org.jboss.resteasy.client.exception with parameters of type WebApplicationException Constructor Description ResteasyWebApplicationException(WebApplicationException wrapped)Creates a new exception based on the wrapped exception. -
Uses of WebApplicationException in org.jboss.resteasy.core
Methods in org.jboss.resteasy.core with parameters of type WebApplicationException Modifier and Type Method Description protected ResponseExceptionHandler. handleWebApplicationException(WebApplicationException wae)Methods in org.jboss.resteasy.core that throw WebApplicationException Modifier and Type Method Description ObjectConstructorInjectorImpl. construct(HttpRequest request, HttpResponse httpResponse, boolean unwrapAsync) -
Uses of WebApplicationException in org.jboss.resteasy.core.interception.jaxrs
Methods in org.jboss.resteasy.core.interception.jaxrs that throw WebApplicationException Modifier and Type Method Description voidAbstractWriterInterceptorContext. proceed()CompletionStage<Void>AbstractWriterInterceptorContext. syncProceed() -
Uses of WebApplicationException in org.jboss.resteasy.plugins.interceptors
Methods in org.jboss.resteasy.plugins.interceptors that throw WebApplicationException Modifier and Type Method Description ObjectGZIPDecodingInterceptor. aroundReadFrom(ReaderInterceptorContext context)voidClientContentEncodingAnnotationFilter. aroundWriteTo(WriterInterceptorContext context)voidGZIPEncodingInterceptor. aroundWriteTo(WriterInterceptorContext context)voidServerContentEncodingAnnotationFilter. aroundWriteTo(WriterInterceptorContext context) -
Uses of WebApplicationException in org.jboss.resteasy.plugins.providers
Subclasses of WebApplicationException in org.jboss.resteasy.plugins.providers Modifier and Type Class Description classFileRangeExceptionMethods in org.jboss.resteasy.plugins.providers that throw WebApplicationException Modifier and Type Method Description ObjectDefaultTextPlain. readFrom(Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, InputStream entityStream)DocumentDocumentProvider. readFrom(Class<Document> clazz, Type type, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> headers, InputStream input)FormJaxrsFormProvider. readFrom(Class<Form> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)FormJaxrsServerFormUrlEncodedProvider. readFrom(Class<Form> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)voidDefaultBooleanWriter. writeTo(Boolean t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidDefaultNumberWriter. writeTo(Number n, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidDefaultTextPlain. writeTo(Object o, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, OutputStream entityStream)voidDocumentProvider. writeTo(Document document, Class<?> clazz, Type type, Annotation[] annotation, MediaType mediaType, MultivaluedMap<String,Object> headers, OutputStream output)voidFileRangeWriter. writeTo(FileRange fileRange, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidJaxrsFormProvider. writeTo(Form form, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) -
Uses of WebApplicationException in org.jboss.resteasy.plugins.providers.atom
Methods in org.jboss.resteasy.plugins.providers.atom that throw WebApplicationException Modifier and Type Method Description EntryAtomEntryProvider. readFrom(Class<Entry> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)FeedAtomFeedProvider. readFrom(Class<Feed> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)voidAtomEntryProvider. writeTo(Entry entry, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidAtomFeedProvider. writeTo(Feed feed, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) -
Uses of WebApplicationException in org.jboss.resteasy.plugins.providers.jackson
Methods in org.jboss.resteasy.plugins.providers.jackson that throw WebApplicationException Modifier and Type Method Description voidJackson2JsonpInterceptor. aroundWriteTo(WriterInterceptorContext context) -
Uses of WebApplicationException in org.jboss.resteasy.plugins.providers.jaxb
Methods in org.jboss.resteasy.plugins.providers.jaxb that throw WebApplicationException Modifier and Type Method Description ObjectCollectionProvider. readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)ObjectMapProvider. readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)voidCollectionProvider. writeTo(Object entry, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidMapProvider. writeTo(Object target, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) -
Uses of WebApplicationException in org.jboss.resteasy.plugins.providers.jsonp
Methods in org.jboss.resteasy.plugins.providers.jsonp that throw WebApplicationException Modifier and Type Method Description JsonArrayJsonArrayProvider. readFrom(Class<JsonArray> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)JsonObjectJsonObjectProvider. readFrom(Class<JsonObject> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)JsonStructureJsonStructureProvider. readFrom(Class<JsonStructure> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)JsonValueJsonValueProvider. readFrom(Class<JsonValue> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)voidJsonArrayProvider. writeTo(JsonArray jsonValues, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidJsonObjectProvider. writeTo(JsonObject jsonObject, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidJsonStructureProvider. writeTo(JsonStructure jsonStructure, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidJsonValueProvider. writeTo(JsonValue jsonValue, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) -
Uses of WebApplicationException in org.jboss.resteasy.plugins.providers.multipart
Methods in org.jboss.resteasy.plugins.providers.multipart that throw WebApplicationException Modifier and Type Method Description EntityPartResteasyEntityPartBuilder. build()List<?>ListMultipartReader. readFrom(Class<List<?>> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)Map<?,?>MapMultipartFormDataReader. readFrom(Class<Map<?,?>> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)List<EntityPart>MultipartEntityPartReader. readFrom(Class<List<EntityPart>> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)ObjectMultipartFormAnnotationReader. readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)MultipartFormDataInputMultipartFormDataReader. readFrom(Class<MultipartFormDataInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)MultipartInputMultipartReader. readFrom(Class<MultipartInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)MultipartRelatedInputMultipartRelatedReader. readFrom(Class<MultipartRelatedInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)ObjectXopWithMultipartRelatedReader. readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)protected voidAbstractMultipartRelatedWriter. writeRelated(MultipartRelatedOutput multipartRelatedOutput, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream, Annotation[] annotations)voidListMultipartWriter. writeTo(List<Object> list, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidMapMultipartFormDataWriter. writeTo(Map<String,Object> map, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidMultipartEntityPartWriter. writeTo(List<EntityPart> entityParts, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidMultipartFormAnnotationWriter. writeTo(Object obj, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidMultipartFormDataWriter. writeTo(MultipartFormDataOutput multipartFormDataOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidMultipartRelatedWriter. writeTo(MultipartRelatedOutput multipartRelatedOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidMultipartWriter. writeTo(MultipartOutput multipartOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)voidXopWithMultipartRelatedWriter. writeTo(Object t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) -
Uses of WebApplicationException in org.jboss.resteasy.plugins.providers.sse
Methods in org.jboss.resteasy.plugins.providers.sse that throw WebApplicationException Modifier and Type Method Description SseEventInputImplSseEventProvider. readFrom(Class<SseEventInputImpl> cls, Type type, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)voidSseEventProvider. writeTo(OutboundSseEvent event, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) -
Uses of WebApplicationException in org.jboss.resteasy.spi
Subclasses of WebApplicationException in org.jboss.resteasy.spi Modifier and Type Class Description classNoLogWebApplicationExceptionWebApplicationExceptions are logged by RESTEasy.Methods in org.jboss.resteasy.spi that throw WebApplicationException Modifier and Type Method Description ObjectConstructorInjector. construct(HttpRequest request, HttpResponse response, boolean unwrapAsync)Construct inside the scope of an HTTP request.CompletionStage<Void>PropertyInjector. inject(HttpRequest request, HttpResponse response, Object target, boolean unwrapAsync)Inject values into annotated properties (fields/setter methods) of the target object.
-