Uses of Class
jakarta.ws.rs.WebApplicationException
Packages that use WebApplicationException
Package
Description
High-level interfaces and annotations used to create RESTful service resources.
Low-level interfaces and annotations used to create RESTful service resources.
APIs that provide extensions to the types supported by the JAX-RS API.
-
Uses of WebApplicationException in jakarta.ws.rs
Subclasses of WebApplicationException in jakarta.ws.rsModifier and TypeClassDescriptionclassA runtime exception indicating abad client request.classA base runtime application exception indicating a client request error (HTTP4xxstatus codes).classA runtime exception indicating that an access to a resource requested by a client has beenforbiddenby the server.classA runtime exception indicating aninternal server error.classA runtime exception indicating that a client request isnot acceptableby the server.classA runtime exception indicating a client requesting a resource method that isnot allowed.classA 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.classA runtime exception indicating a resource requested by a client wasnot foundon the server.classA runtime exception indicating that the client request entity media type isnot supported.classA runtime application exception indicating a request redirection (HTTP3xxstatus codes).classA base runtime application exception indicating a server error (HTTP5xxstatus codes).classA 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 WebApplicationExceptionModifier and TypeMethodDescriptionEntityPart.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 WebApplicationExceptionModifier and TypeMethodDescriptionReaderInterceptor.aroundReadFrom(ReaderInterceptorContext context) voidWriterInterceptor.aroundWriteTo(WriterInterceptorContext context) ReaderInterceptorContext.proceed()Proceed to the next interceptor in the chain.voidWriterInterceptorContext.proceed()Proceed to the next interceptor in the chain.MessageBodyReader.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 WebApplicationExceptionModifier and TypeInterfaceDescriptioninterfaceAn interface which allows aWebApplicationExceptionto be unwrapped.Subclasses of WebApplicationException in org.jboss.resteasy.client.exceptionModifier and TypeClassDescriptionclassWraps aBadRequestExceptionwith a sanitized response.classWraps aClientErrorExceptionwith a sanitized response.classWraps aForbiddenExceptionwith a sanitized response.classWraps aInternalServerErrorExceptionwith a sanitized response.classWraps aNotAcceptableExceptionwith a sanitized response.classWraps aNotAllowedExceptionwith a sanitized response.classWraps aNotAuthorizedExceptionwith a sanitized responseclassWraps aNotFoundExceptionwith a sanitized response.classWraps aNotSupportedExceptionwith a sanitized response.classWraps aRedirectionExceptionwith a sanitized response.classWraps aServerErrorExceptionwith a sanitized response.classWraps aServiceUnavailableExceptionwith a sanitized response.classWraps aWebApplicationExceptionwith a sanitized response.Methods in org.jboss.resteasy.client.exception that return WebApplicationExceptionModifier and TypeMethodDescriptionResteasyWebApplicationException.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 WebApplicationExceptionModifier and TypeMethodDescriptionstatic 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 WebApplicationExceptionModifierConstructorDescriptionCreates 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 WebApplicationExceptionModifier and TypeMethodDescriptionprotected ResponseExceptionHandler.handleWebApplicationException(WebApplicationException wae) Methods in org.jboss.resteasy.core that throw WebApplicationExceptionModifier and TypeMethodDescriptionConstructorInjectorImpl.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 WebApplicationExceptionModifier and TypeMethodDescriptionvoidAbstractWriterInterceptorContext.proceed()AbstractWriterInterceptorContext.syncProceed() -
Uses of WebApplicationException in org.jboss.resteasy.plugins.interceptors
Methods in org.jboss.resteasy.plugins.interceptors that throw WebApplicationExceptionModifier and TypeMethodDescriptionGZIPDecodingInterceptor.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.providersMethods in org.jboss.resteasy.plugins.providers that throw WebApplicationExceptionModifier and TypeMethodDescriptionDefaultTextPlain.readFrom(Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, InputStream entityStream) DocumentProvider.readFrom(Class<Document> clazz, Type type, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> headers, InputStream input) JaxrsFormProvider.readFrom(Class<Form> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) JaxrsServerFormUrlEncodedProvider.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 WebApplicationExceptionModifier and TypeMethodDescriptionAtomEntryProvider.readFrom(Class<Entry> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) AtomFeedProvider.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 WebApplicationExceptionModifier and TypeMethodDescriptionvoidJackson2JsonpInterceptor.aroundWriteTo(WriterInterceptorContext context) -
Uses of WebApplicationException in org.jboss.resteasy.plugins.providers.jaxb
Methods in org.jboss.resteasy.plugins.providers.jaxb that throw WebApplicationExceptionModifier and TypeMethodDescriptionCollectionProvider.readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) MapProvider.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 WebApplicationExceptionModifier and TypeMethodDescriptionJsonArrayProvider.readFrom(Class<JsonArray> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) JsonObjectProvider.readFrom(Class<JsonObject> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) JsonStructureProvider.readFrom(Class<JsonStructure> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) JsonValueProvider.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 WebApplicationExceptionModifier and TypeMethodDescriptionResteasyEntityPartBuilder.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) MultipartEntityPartReader.readFrom(Class<List<EntityPart>> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) MultipartFormAnnotationReader.readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) MultipartFormDataReader.readFrom(Class<MultipartFormDataInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) MultipartReader.readFrom(Class<MultipartInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) MultipartRelatedReader.readFrom(Class<MultipartRelatedInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) XopWithMultipartRelatedReader.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 WebApplicationExceptionModifier and TypeMethodDescriptionSseEventProvider.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.spiModifier and TypeClassDescriptionclassWebApplicationExceptions are logged by RESTEasy.Methods in org.jboss.resteasy.spi that throw WebApplicationExceptionModifier and TypeMethodDescriptionConstructorInjector.construct(HttpRequest request, HttpResponse response, boolean unwrapAsync) Construct inside the scope of an HTTP request.PropertyInjector.inject(HttpRequest request, HttpResponse response, Object target, boolean unwrapAsync) Inject values into annotated properties (fields/setter methods) of the target object.