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.glassfish.jersey.client Jersey client-side classes.org.glassfish.jersey.message Common Jersey messaging classes.org.glassfish.jersey.message.internal Common Jersey internal messaging classes.org.glassfish.jersey.server Jersey server-side classes.org.glassfish.jersey.server.internal Jersey server-side internal classes.org.glassfish.jersey.spi Common Jersey service provider contract (SPI) classes. -
-
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.glassfish.jersey.client
Methods in org.glassfish.jersey.client that throw WebApplicationException Modifier and Type Method Description <T> TJerseyInvocation.Builder. delete(GenericType<T> responseType)<T> TJerseyInvocation.Builder. delete(Class<T> responseType)<T> TJerseyInvocation.Builder. get(GenericType<T> responseType)<T> TJerseyInvocation.Builder. get(Class<T> responseType)ResponseJerseyInvocation. invoke()<T> TJerseyInvocation. invoke(GenericType<T> responseType)<T> TJerseyInvocation. invoke(Class<T> responseType)<T> TJerseyInvocation.Builder. method(String name, Entity<?> entity, GenericType<T> responseType)<T> TJerseyInvocation.Builder. method(String name, Entity<?> entity, Class<T> responseType)<T> TJerseyInvocation.Builder. method(String name, GenericType<T> responseType)<T> TJerseyInvocation.Builder. method(String name, Class<T> responseType)<T> TJerseyInvocation.Builder. options(GenericType<T> responseType)<T> TJerseyInvocation.Builder. options(Class<T> responseType)<T> TJerseyInvocation.Builder. post(Entity<?> entity, GenericType<T> responseType)<T> TJerseyInvocation.Builder. post(Entity<?> entity, Class<T> responseType)<T> TJerseyInvocation.Builder. put(Entity<?> entity, GenericType<T> responseType)<T> TJerseyInvocation.Builder. put(Entity<?> entity, Class<T> responseType)<T> TJerseyInvocation.Builder. trace(GenericType<T> responseType)<T> TJerseyInvocation.Builder. trace(Class<T> responseType) -
Uses of WebApplicationException in org.glassfish.jersey.message
Methods in org.glassfish.jersey.message that throw WebApplicationException Modifier and Type Method Description ObjectMessageBodyWorkers. readFrom(Class<?> rawType, Type type, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, PropertiesDelegate propertiesDelegate, InputStream entityStream, Iterable<ReaderInterceptor> readerInterceptors, boolean translateNce)Reads a type from theentityStreamusing interceptors.OutputStreamMessageBodyWorkers. writeTo(Object entity, Class<?> rawType, Type type, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, PropertiesDelegate propertiesDelegate, OutputStream entityStream, Iterable<WriterInterceptor> writerInterceptors)Writers a type to theentityStreamusing interceptors. -
Uses of WebApplicationException in org.glassfish.jersey.message.internal
Methods in org.glassfish.jersey.message.internal that throw WebApplicationException Modifier and Type Method Description ObjectMessageBodyFactory. readFrom(Class<?> rawType, Type type, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, PropertiesDelegate propertiesDelegate, InputStream entityStream, Iterable<ReaderInterceptor> readerInterceptors, boolean translateNce)OutputStreamMessageBodyFactory. writeTo(Object t, Class<?> rawType, Type type, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, PropertiesDelegate propertiesDelegate, OutputStream entityStream, Iterable<WriterInterceptor> writerInterceptors) -
Uses of WebApplicationException in org.glassfish.jersey.server
Subclasses of WebApplicationException in org.glassfish.jersey.server Modifier and Type Class Description classParamExceptionAn abstract extension ofWebApplicationExceptionfor the class of parameter-based exceptions.static classParamException.CookieParamExceptionA parameter exception for errors withCookieParam.static classParamException.FormParamExceptionA parameter exception for errors withFormParam.static classParamException.HeaderParamExceptionA parameter exception for errors withHeaderParam.static classParamException.MatrixParamExceptionA URI-parameter-based exception for errors withMatrixParam.static classParamException.PathParamExceptionA URI-parameter-based exception for errors withPathParam.static classParamException.QueryParamExceptionA URI-parameter-based exception for errors withQueryParam.static classParamException.UriParamExceptionAn abstract parameter exception for the class of URI-parameter-based exceptions.Methods in org.glassfish.jersey.server that throw WebApplicationException Modifier and Type Method Description voidChunkedResponseWriter. writeTo(ChunkedOutput<?> chunkedOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) -
Uses of WebApplicationException in org.glassfish.jersey.server.internal
Methods in org.glassfish.jersey.server.internal that throw WebApplicationException Modifier and Type Method Description ObjectMappableExceptionWrapperInterceptor. aroundReadFrom(ReaderInterceptorContext context)voidJsonWithPaddingInterceptor. aroundWriteTo(WriterInterceptorContext context)voidMappableExceptionWrapperInterceptor. aroundWriteTo(WriterInterceptorContext context) -
Uses of WebApplicationException in org.glassfish.jersey.spi
Methods in org.glassfish.jersey.spi that throw WebApplicationException Modifier and Type Method Description ObjectContentEncoder. aroundReadFrom(ReaderInterceptorContext context)voidContentEncoder. aroundWriteTo(WriterInterceptorContext context)
-