- CACHE_CONTROL - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- CacheControl - Class in javax.ws.rs.core
-
An abstraction for the value of a HTTP Cache-Control response header.
- CacheControl() - Constructor for class javax.ws.rs.core.CacheControl
-
Create a new instance of CacheControl.
- cacheControl(CacheControl) - Method in class javax.ws.rs.core.Response.ResponseBuilder
-
Set the cache control data on the ResponseBuilder.
- CLIENT_CERT_AUTH - Static variable in interface javax.ws.rs.core.SecurityContext
-
String identifier for Client Certificate authentication.
- clone() - Method in class javax.ws.rs.core.Response.ResponseBuilder
-
Create a copy of the ResponseBuilder preserving its state.
- clone() - Method in class javax.ws.rs.core.UriBuilder
-
Create a copy of the UriBuilder preserving its state.
- Consumes - Annotation Type in javax.ws.rs
-
Defines the media types that the methods of a resource class or
MessageBodyReader
can accept.
- CONTENT_ENCODING - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- CONTENT_LANGUAGE - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- CONTENT_LENGTH - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- CONTENT_LOCATION - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- CONTENT_TYPE - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- contentLocation(URI) - Method in class javax.ws.rs.core.Response.ResponseBuilder
-
Set the content location on the ResponseBuilder.
- Context - Annotation Type in javax.ws.rs.core
-
This annotation is used to inject information into a class
field, bean property or method parameter.
- ContextResolver<T> - Interface in javax.ws.rs.ext
-
Contract for a provider that supplies context information to resource
classes and other providers.
- Cookie - Class in javax.ws.rs.core
-
Represents the value of a HTTP cookie, transferred in a request.
- Cookie(String, String, String, String, int) - Constructor for class javax.ws.rs.core.Cookie
-
Create a new instance.
- Cookie(String, String, String, String) - Constructor for class javax.ws.rs.core.Cookie
-
Create a new instance.
- Cookie(String, String) - Constructor for class javax.ws.rs.core.Cookie
-
Create a new instance.
- COOKIE - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- cookie(NewCookie...) - Method in class javax.ws.rs.core.Response.ResponseBuilder
-
Add cookies to the ResponseBuilder.
- CookieParam - Annotation Type in javax.ws.rs
-
Binds the value of a HTTP cookie to a resource method parameter,
resource class field, or resource class bean property.
- created(URI) - Static method in class javax.ws.rs.core.Response
-
Create a new ResponseBuilder for a created resource, set the location
header using the supplied value.
- createEndpoint(Application, Class<T>) - Method in class javax.ws.rs.ext.RuntimeDelegate
-
Create a configured instance of the supplied endpoint type.
- createHeaderDelegate(Class<T>) - Method in class javax.ws.rs.ext.RuntimeDelegate
-
Obtain an instance of a HeaderDelegate for the supplied class.
- createResponseBuilder() - Method in class javax.ws.rs.ext.RuntimeDelegate
-
- createUriBuilder() - Method in class javax.ws.rs.ext.RuntimeDelegate
-
- createVariantListBuilder() - Method in class javax.ws.rs.ext.RuntimeDelegate
-
- GenericEntity<T> - Class in javax.ws.rs.core
-
Represents a response entity of a generic type T
.
- GenericEntity(T) - Constructor for class javax.ws.rs.core.GenericEntity
-
Constructs a new generic entity.
- GenericEntity(T, Type) - Constructor for class javax.ws.rs.core.GenericEntity
-
Create a new instance of GenericEntity, supplying the generic type
information.
- GET - Annotation Type in javax.ws.rs
-
Indicates that the annotated method responds to HTTP GET requests
- GET - Static variable in annotation type javax.ws.rs.HttpMethod
-
HTTP GET method
- getAbsolutePath() - Method in interface javax.ws.rs.core.UriInfo
-
Get the absolute path of the request.
- getAbsolutePathBuilder() - Method in interface javax.ws.rs.core.UriInfo
-
Get the absolute path of the request in the form of a UriBuilder.
- getAcceptableLanguages() - Method in interface javax.ws.rs.core.HttpHeaders
-
Get a list of languages that are acceptable for the response.
- getAcceptableMediaTypes() - Method in interface javax.ws.rs.core.HttpHeaders
-
Get a list of media types that are acceptable for the response.
- getAuthenticationScheme() - Method in interface javax.ws.rs.core.SecurityContext
-
Returns the string value of the authentication scheme used to protect
the resource.
- getBaseUri() - Method in interface javax.ws.rs.core.UriInfo
-
Get the base URI of the application.
- getBaseUriBuilder() - Method in interface javax.ws.rs.core.UriInfo
-
Get the base URI of the application in the form of a UriBuilder.
- getCacheExtension() - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to a set of extension cache control directives.
- getClasses() - Method in class javax.ws.rs.core.Application
-
Get a set of root resource and provider classes.
- getComment() - Method in class javax.ws.rs.core.NewCookie
-
Get the comment associated with the cookie.
- getContext(Class<?>) - Method in interface javax.ws.rs.ext.ContextResolver
-
Get a context of type T
that is applicable to the supplied
type.
- getContextResolver(Class<T>, MediaType) - Method in interface javax.ws.rs.ext.Providers
-
Get a context resolver for a particular type of context and media type.
- getCookies() - Method in interface javax.ws.rs.core.HttpHeaders
-
Get any cookies that accompanied the request.
- getDomain() - Method in class javax.ws.rs.core.Cookie
-
Get the domain of the cookie
- getEncoding() - Method in class javax.ws.rs.core.Variant
-
Get the encoding of the variant
- getEntity() - Method in class javax.ws.rs.core.GenericEntity
-
Get the enclosed entity
- getEntity() - Method in class javax.ws.rs.core.Response
-
Return the response entity.
- getExceptionMapper(Class<T>) - Method in interface javax.ws.rs.ext.Providers
-
Get an exception mapping provider for a particular class of exception.
- getFamily() - Method in enum javax.ws.rs.core.Response.Status
-
Get the class of status code
- getFamily() - Method in interface javax.ws.rs.core.Response.StatusType
-
Get the class of status code
- getFirst(K) - Method in interface javax.ws.rs.core.MultivaluedMap
-
A shortcut to get the first value of the supplied key.
- getInstance() - Static method in class javax.ws.rs.ext.RuntimeDelegate
-
Obtain a RuntimeDelegate instance.
- getLanguage() - Method in interface javax.ws.rs.core.HttpHeaders
-
Get the language of the request entity
- getLanguage() - Method in class javax.ws.rs.core.Variant
-
Get the language of the variant
- getMatchedResources() - Method in interface javax.ws.rs.core.UriInfo
-
Get a read-only list of the currently matched resource class instances.
- getMatchedURIs() - Method in interface javax.ws.rs.core.UriInfo
-
Get a read-only list of URIs for matched resources.
- getMatchedURIs(boolean) - Method in interface javax.ws.rs.core.UriInfo
-
Get a read-only list of URIs for matched resources.
- getMatrixParameters() - Method in interface javax.ws.rs.core.PathSegment
-
Get a map of the matrix parameters associated with the path segment.
- getMaxAge() - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the max-age cache control directive.
- getMaxAge() - Method in class javax.ws.rs.core.NewCookie
-
Get the maximum age of the the cookie in seconds.
- getMediaType() - Method in interface javax.ws.rs.core.HttpHeaders
-
Get the media type of the request entity
- getMediaType() - Method in class javax.ws.rs.core.Variant
-
Get the media type of the variant
- getMessageBodyReader(Class<T>, Type, Annotation[], MediaType) - Method in interface javax.ws.rs.ext.Providers
-
Get a message body reader that matches a set of criteria.
- getMessageBodyWriter(Class<T>, Type, Annotation[], MediaType) - Method in interface javax.ws.rs.ext.Providers
-
Get a message body writer that matches a set of criteria.
- getMetadata() - Method in class javax.ws.rs.core.Response
-
Get metadata associated with the response as a map.
- getMethod() - Method in interface javax.ws.rs.core.Request
-
Get the request method, e.g.
- getName() - Method in class javax.ws.rs.core.Cookie
-
Get the name of the cookie
- getNoCacheFields() - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the value of the no-cache cache control directive.
- getParameters() - Method in class javax.ws.rs.core.MediaType
-
Getter for a read-only parameter map.
- getPath() - Method in class javax.ws.rs.core.Cookie
-
Get the path of the cookie
- getPath() - Method in interface javax.ws.rs.core.PathSegment
-
Get the path segment.
- getPath() - Method in interface javax.ws.rs.core.UriInfo
-
Get the path of the current request relative to the base URI as
a string.
- getPath(boolean) - Method in interface javax.ws.rs.core.UriInfo
-
Get the path of the current request relative to the base URI as
a string.
- getPathParameters() - Method in interface javax.ws.rs.core.UriInfo
-
Get the values of any embedded URI template parameters.
- getPathParameters(boolean) - Method in interface javax.ws.rs.core.UriInfo
-
Get the values of any embedded URI template parameters.
- getPathSegments() - Method in interface javax.ws.rs.core.UriInfo
-
Get the path of the current request relative to the base URI as a
list of
PathSegment
.
- getPathSegments(boolean) - Method in interface javax.ws.rs.core.UriInfo
-
Get the path of the current request relative to the base URI as a
list of
PathSegment
.
- getPrivateFields() - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the value of the private cache control directive.
- getQueryParameters() - Method in interface javax.ws.rs.core.UriInfo
-
Get the URI query parameters of the current request.
- getQueryParameters(boolean) - Method in interface javax.ws.rs.core.UriInfo
-
Get the URI query parameters of the current request.
- getRawType() - Method in class javax.ws.rs.core.GenericEntity
-
Gets the raw type of the enclosed entity.
- getReasonPhrase() - Method in enum javax.ws.rs.core.Response.Status
-
Get the reason phrase
- getReasonPhrase() - Method in interface javax.ws.rs.core.Response.StatusType
-
Get the reason phrase
- getRequestHeader(String) - Method in interface javax.ws.rs.core.HttpHeaders
-
Get the values of a HTTP request header.
- getRequestHeaders() - Method in interface javax.ws.rs.core.HttpHeaders
-
Get the values of HTTP request headers.
- getRequestUri() - Method in interface javax.ws.rs.core.UriInfo
-
Get the absolute request URI including any query parameters.
- getRequestUriBuilder() - Method in interface javax.ws.rs.core.UriInfo
-
Get the absolute request URI in the form of a UriBuilder.
- getResponse() - Method in exception javax.ws.rs.WebApplicationException
-
Get the HTTP response.
- getSingletons() - Method in class javax.ws.rs.core.Application
-
Get a set of root resource and provider instances.
- getSize(T, Class<?>, Type, Annotation[], MediaType) - Method in interface javax.ws.rs.ext.MessageBodyWriter
-
Called before writeTo
to ascertain the length in bytes of
the serialized form of t
.
- getSMaxAge() - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the s-maxage cache control directive.
- getStatus() - Method in class javax.ws.rs.core.Response
-
Get the status code associated with the response.
- getStatusCode() - Method in enum javax.ws.rs.core.Response.Status
-
Get the associated status code
- getStatusCode() - Method in interface javax.ws.rs.core.Response.StatusType
-
Get the associated status code
- getSubtype() - Method in class javax.ws.rs.core.MediaType
-
Getter for subtype.
- getType() - Method in class javax.ws.rs.core.GenericEntity
-
Gets underlying Type
instance.
- getType() - Method in class javax.ws.rs.core.MediaType
-
Getter for primary type.
- getUserPrincipal() - Method in interface javax.ws.rs.core.SecurityContext
-
Returns a java.security.Principal
object containing the
name of the current authenticated user.
- getValue() - Method in class javax.ws.rs.core.Cookie
-
Get the value of the cookie
- getValue() - Method in class javax.ws.rs.core.EntityTag
-
Get the value of an EntityTag
- getVersion() - Method in class javax.ws.rs.core.Cookie
-
Get the version of the cookie
- IF_MATCH - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- IF_MODIFIED_SINCE - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- IF_NONE_MATCH - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- IF_UNMODIFIED_SINCE - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- isCompatible(MediaType) - Method in class javax.ws.rs.core.MediaType
-
Check if this media type is compatible with another media type.
- isMustRevalidate() - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the must-revalidate cache control directive.
- isNoCache() - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the no-cache cache control directive.
- isNoStore() - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the no-store cache control directive.
- isNoTransform() - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the no-transform cache control directive.
- isPrivate() - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the private cache control directive.
- isProxyRevalidate() - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the proxy-revalidate cache control directive.
- isReadable(Class<?>, Type, Annotation[], MediaType) - Method in interface javax.ws.rs.ext.MessageBodyReader
-
Ascertain if the MessageBodyReader can produce an instance of a
particular type.
- isSecure() - Method in class javax.ws.rs.core.NewCookie
-
Whether the cookie will only be sent over a secure connection.
- isSecure() - Method in interface javax.ws.rs.core.SecurityContext
-
Returns a boolean indicating whether this request was made
using a secure channel, such as HTTPS.
- isUserInRole(String) - Method in interface javax.ws.rs.core.SecurityContext
-
Returns a boolean indicating whether the authenticated user is included
in the specified logical "role".
- isWeak() - Method in class javax.ws.rs.core.EntityTag
-
Check the strength of an EntityTag
- isWildcardSubtype() - Method in class javax.ws.rs.core.MediaType
-
Checks if the subtype is a wildcard
- isWildcardType() - Method in class javax.ws.rs.core.MediaType
-
Checks if the primary type is a wildcard.
- isWriteable(Class<?>, Type, Annotation[], MediaType) - Method in interface javax.ws.rs.ext.MessageBodyWriter
-
Ascertain if the MessageBodyWriter supports a particular type.
- scheme(String) - Method in class javax.ws.rs.core.UriBuilder
-
Set the URI scheme.
- schemeSpecificPart(String) - Method in class javax.ws.rs.core.UriBuilder
-
Set the URI scheme-specific-part (see
URI
).
- SecurityContext - Interface in javax.ws.rs.core
-
An injectable interface that provides access to security related
information.
- seeOther(URI) - Static method in class javax.ws.rs.core.Response
-
Create a new ResponseBuilder for a redirection.
- segment(String...) - Method in class javax.ws.rs.core.UriBuilder
-
Append path segments to the existing path.
- selectVariant(List<Variant>) - Method in interface javax.ws.rs.core.Request
-
Select the representation variant that best matches the request.
- serverError() - Static method in class javax.ws.rs.core.Response
-
Create a new ResponseBuilder with an server error status.
- SET_COOKIE - Static variable in interface javax.ws.rs.core.HttpHeaders
-
- setInstance(RuntimeDelegate) - Static method in class javax.ws.rs.ext.RuntimeDelegate
-
Set the runtime delegate that will be used by JAX-RS classes.
- setMaxAge(int) - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the max-age cache control directive.
- setMustRevalidate(boolean) - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the must-revalidate cache control directive.
- setNoCache(boolean) - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the no-cache cache control directive.
- setNoStore(boolean) - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the no-store cache control directive.
- setNoTransform(boolean) - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the no-transform cache control directive.
- setPrivate(boolean) - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the private cache control directive.
- setProxyRevalidate(boolean) - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the must-revalidate cache control directive.
- setSMaxAge(int) - Method in class javax.ws.rs.core.CacheControl
-
Corresponds to the s-maxage cache control directive.
- status(int) - Method in class javax.ws.rs.core.Response.ResponseBuilder
-
Set the status on the ResponseBuilder.
- status(Response.StatusType) - Method in class javax.ws.rs.core.Response.ResponseBuilder
-
Set the status on the ResponseBuilder.
- status(Response.Status) - Method in class javax.ws.rs.core.Response.ResponseBuilder
-
Set the status on the ResponseBuilder.
- status(Response.StatusType) - Static method in class javax.ws.rs.core.Response
-
Create a new ResponseBuilder with the supplied status.
- status(Response.Status) - Static method in class javax.ws.rs.core.Response
-
Create a new ResponseBuilder with the supplied status.
- status(int) - Static method in class javax.ws.rs.core.Response
-
Create a new ResponseBuilder with the supplied status.
- StreamingOutput - Interface in javax.ws.rs.core
-
A type that may be used as a resource method return value or as the entity
in a
Response
when the application wishes to stream the output.
- valueOf(String) - Static method in class javax.ws.rs.core.CacheControl
-
Creates a new instance of CacheControl by parsing the supplied string.
- valueOf(String) - Static method in class javax.ws.rs.core.Cookie
-
Creates a new instance of Cookie by parsing the supplied string.
- valueOf(String) - Static method in class javax.ws.rs.core.EntityTag
-
Creates a new instance of EntityTag by parsing the supplied string.
- valueOf(String) - Static method in class javax.ws.rs.core.MediaType
-
Creates a new instance of MediaType by parsing the supplied string.
- valueOf(String) - Static method in class javax.ws.rs.core.NewCookie
-
Creates a new instance of NewCookie by parsing the supplied string.
- valueOf(String) - Static method in enum javax.ws.rs.core.Response.Status.Family
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.ws.rs.core.Response.Status
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum javax.ws.rs.core.Response.Status.Family
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.ws.rs.core.Response.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- variant(Variant) - Method in class javax.ws.rs.core.Response.ResponseBuilder
-
Set representation metadata on the ResponseBuilder.
- Variant - Class in javax.ws.rs.core
-
Abstraction for a resource representation variant.
- Variant(MediaType, Locale, String) - Constructor for class javax.ws.rs.core.Variant
-
Create a new instance of Variant
- Variant.VariantListBuilder - Class in javax.ws.rs.core
-
A builder for a list of representation variants.
- VariantListBuilder() - Constructor for class javax.ws.rs.core.Variant.VariantListBuilder
-
Protected constructor, use the static newInstance
method to obtain an instance.
- variants(List<Variant>) - Method in class javax.ws.rs.core.Response.ResponseBuilder
-
Add a Vary header that lists the available variants.
- VARY - Static variable in interface javax.ws.rs.core.HttpHeaders
-