Uses of Class
javax.ws.rs.WebApplicationException

Packages that use WebApplicationException
javax.ws.rs High-level interfaces and annotations used to create RESTful service resources. 
javax.ws.rs.client The JAX-RS client API 
javax.ws.rs.core Low-level interfaces and annotations used to create RESTful service resources. 
javax.ws.rs.ext APIs that provide extensions to the types supported by the JAX-RS API. 
 

Uses of WebApplicationException in javax.ws.rs
 

Subclasses of WebApplicationException in javax.ws.rs
 class BadRequestException
          A runtime exception indicating a bad client request.
 class ClientErrorException
          A base runtime application exception indicating a client request error (HTTP 4xx status codes).
 class InternalServerErrorException
          A runtime exception indicating an internal server error.
 class NotAcceptableException
          A runtime exception indicating that a client request is not acceptable by the server.
 class NotAllowedException
          A runtime exception indicating a client requesting a resource method that is not allowed.
 class NotAuthorizedException
          A 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.
 class NotFoundException
          A runtime exception indicating a resource requested by a client was not found on the server.
 class NotSupportedException
          A runtime exception indicating that the client request entity media type is not supported.
 class RedirectionException
          A runtime application exception indicating a request redirection (HTTP 3xx status codes).
 class ServerErrorException
          A base runtime application exception indicating a server error (HTTP 5xx status codes).
 class ServiceUnavailableException
          A runtime exception indicating that the requested resource cannot be served.
 class ValidationException
          Exception class used by JAX-RS implementations to report constraint validations.
 

Uses of WebApplicationException in javax.ws.rs.client
 

Methods in javax.ws.rs.client that throw WebApplicationException
<T> T
SyncInvoker.delete(java.lang.Class<T> responseType)
          Invoke HTTP DELETE method for the current request synchronously.
<T> T
SyncInvoker.delete(GenericType<T> responseType)
          Invoke HTTP DELETE method for the current request synchronously.
<T> T
SyncInvoker.get(java.lang.Class<T> responseType)
          Invoke HTTP GET method for the current request synchronously.
<T> T
SyncInvoker.get(GenericType<T> responseType)
          Invoke HTTP GET method for the current request synchronously.
<T> T
Invocation.invoke(java.lang.Class<T> responseType)
          Synchronously invoke the request and receive a response of the specified type back.
<T> T
Invocation.invoke(GenericType<T> responseType)
          Synchronously invoke the request and receive a response of the specified generic type back.
<T> T
SyncInvoker.method(java.lang.String name, java.lang.Class<T> responseType)
          Invoke an arbitrary method for the current request synchronously.
<T> T
SyncInvoker.method(java.lang.String name, Entity<?> entity, java.lang.Class<T> responseType)
          Invoke an arbitrary method for the current request synchronously.
<T> T
SyncInvoker.method(java.lang.String name, Entity<?> entity, GenericType<T> responseType)
          Invoke an arbitrary method for the current request synchronously.
<T> T
SyncInvoker.method(java.lang.String name, GenericType<T> responseType)
          Invoke an arbitrary method for the current request synchronously.
<T> T
SyncInvoker.options(java.lang.Class<T> responseType)
          Invoke HTTP OPTIONS method for the current request synchronously.
<T> T
SyncInvoker.options(GenericType<T> responseType)
          Invoke HTTP OPTIONS method for the current request synchronously.
<T> T
SyncInvoker.post(Entity<?> entity, java.lang.Class<T> responseType)
          Invoke HTTP POST method for the current request synchronously.
<T> T
SyncInvoker.post(Entity<?> entity, GenericType<T> responseType)
          Invoke HTTP POST method for the current request synchronously.
<T> T
SyncInvoker.put(Entity<?> entity, java.lang.Class<T> responseType)
          Invoke HTTP PUT method for the current request synchronously.
<T> T
SyncInvoker.put(Entity<?> entity, GenericType<T> responseType)
          Invoke HTTP PUT method for the current request synchronously.
<T> T
SyncInvoker.trace(java.lang.Class<T> responseType)
          Invoke HTTP TRACE method for the current request synchronously.
<T> T
SyncInvoker.trace(GenericType<T> responseType)
          Invoke HTTP TRACE method for the current request synchronously.
 

Uses of WebApplicationException in javax.ws.rs.core
 

Methods in javax.ws.rs.core that throw WebApplicationException
 void StreamingOutput.write(java.io.OutputStream output)
          Called to write the message body.
 

Uses of WebApplicationException in javax.ws.rs.ext
 

Methods in javax.ws.rs.ext that throw WebApplicationException
 java.lang.Object ReaderInterceptor.aroundReadFrom(ReaderInterceptorContext context)
          Interceptor method wrapping calls to MessageBodyReader.readFrom(java.lang.Class, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap, java.io.InputStream).
 void WriterInterceptor.aroundWriteTo(WriterInterceptorContext context)
          Interceptor method wrapping calls to MessageBodyWriter.writeTo(T, java.lang.Class, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap, java.io.OutputStream).
 T MessageBodyReader.readFrom(java.lang.Class<T> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType, MultivaluedMap<java.lang.String,java.lang.String> httpHeaders, java.io.InputStream entityStream)
          Read a type from the InputStream.
 void MessageBodyWriter.writeTo(T t, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType, MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders, java.io.OutputStream entityStream)
          Write a type to an HTTP message.
 



Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.