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.