A C E G I L M N O R S T V W 
All Classes All Packages

A

AbstractErrorTemplateMapper<T extends Throwable> - Class in org.glassfish.jersey.server.mvc.spi
Default implementation of ExtendedExceptionMapper used to declare special handling for exception types that should be processed by MVC.
AbstractErrorTemplateMapper() - Constructor for class org.glassfish.jersey.server.mvc.spi.AbstractErrorTemplateMapper
 
AbstractTemplateProcessor<T> - Class in org.glassfish.jersey.server.mvc.spi
Default implementation of template processor that can be used to implement support for custom templating engines.
AbstractTemplateProcessor(Configuration, ServletContext, String, String...) - Constructor for class org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor
Create an instance of the processor with injected config and (optional) servlet context.

C

CACHE_TEMPLATES - Static variable in class org.glassfish.jersey.server.mvc.MvcFeature
If true then enable caching of template objects, i.e.
configure() - Method in class org.glassfish.jersey.server.mvc.internal.MvcBinder
 
configure(FeatureContext) - Method in class org.glassfish.jersey.server.mvc.MvcFeature
 

E

ENCODING - Static variable in class org.glassfish.jersey.server.mvc.MvcFeature
Property defines output encoding produced by TemplateProcessor.
ErrorTemplate - Annotation Type in org.glassfish.jersey.server.mvc
Used to annotate JAX-RS resources and resource methods to provide reference to an error template if an exception has been raised during processing a request (resource method invocation).
ErrorTemplateExceptionMapper - Class in org.glassfish.jersey.server.mvc.internal
Implementation of AbstractErrorTemplateMapper for every thrown Exception.
ErrorTemplateExceptionMapper() - Constructor for class org.glassfish.jersey.server.mvc.internal.ErrorTemplateExceptionMapper
 

G

getAbsolutePath(Class<?>, String, char) - Static method in class org.glassfish.jersey.server.mvc.internal.TemplateHelper
Return an absolute path to the given class where segments are separated using delim character and path is appended to this path.
getBasePath() - Method in class org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor
Return base path for current template processor.
getEncoding() - Method in class org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor
Get the output encoding.
getErrorModel(T) - Method in class org.glassfish.jersey.server.mvc.spi.AbstractErrorTemplateMapper
Get a model for error template.
getErrorStatus(T) - Method in class org.glassfish.jersey.server.mvc.spi.AbstractErrorTemplateMapper
Get a response status of to-be-processed error template.
getMediaType() - Method in class org.glassfish.jersey.server.mvc.spi.ResolvedViewable
Get the media type for which the view processor resolved the template reference.
getModel() - Method in class org.glassfish.jersey.server.mvc.Viewable
Get the model.
getModelClass() - Method in interface org.glassfish.jersey.server.mvc.internal.TemplateInflector
Get a class of the model used in template of implicit viewable.
getProducibleMediaTypes(ContainerRequest, ExtendedUriInfo, Ref<String>) - Static method in class org.glassfish.jersey.server.mvc.internal.TemplateHelper
Get media types for which the resolved viewable could be produced.
getResolvingClass() - Method in class org.glassfish.jersey.server.mvc.spi.ResolvedViewable
Get resolving class.
getServletContext() - Method in class org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor
Return current servlet context, if present.
getTemplateAnnotation(Annotation[]) - Static method in class org.glassfish.jersey.server.mvc.internal.TemplateHelper
Extract template annotation from given list.
getTemplateName() - Method in class org.glassfish.jersey.server.mvc.Viewable
Get the template name.
getTemplateName(Viewable) - Static method in class org.glassfish.jersey.server.mvc.internal.TemplateHelper
Get template name from given viewable or return index if the given viewable doesn't contain a valid template name.
getTemplateObjectFactory(Function<Class<?>, ?>, Class<F>, Value<F>) - Method in class org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor
Retrieve a template object factory.
getTemplateOutputEncoding(Configuration, String) - Static method in class org.glassfish.jersey.server.mvc.internal.TemplateHelper
Get output encoding from configuration.

I

isMappable(T) - Method in class org.glassfish.jersey.server.mvc.spi.AbstractErrorTemplateMapper
 
isTemplateNameAbsolute() - Method in class org.glassfish.jersey.server.mvc.Viewable
Determines whether the template name is represented by an absolute path.

L

localizableTEMPLATE_ERROR_CLOSING_READER() - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
 
localizableTEMPLATE_HANDLER_ALREADY_ENHANCED(Object) - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
 
localizableTEMPLATE_MODEL_OF_VIEW_CANNOT_BE_NULL() - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
 
localizableTEMPLATE_NAME_COULD_NOT_BE_RESOLVED(Object) - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
 
localizableTEMPLATE_NAME_MUST_NOT_BE_NULL() - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
 
localizableTEMPLATE_NAMES_COULD_NOT_BE_RESOLVED(Object, Object, Object) - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
 
localizableTEMPLATE_NO_MATCHING_RESOURCE_AVAILABLE() - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
 
localizableTEMPLATE_RESOLVE_ERROR(Object) - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
 
localizableTEMPLATE_RESOLVING_CLASS_CANNOT_BE_NULL() - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
 
localizableWRONG_TEMPLATE_OBJECT_FACTORY(Object, Object) - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
 
LocalizationMessages - Class in org.glassfish.jersey.server.mvc.internal
Defines string formatting method for each constant in the resource file

M

MvcBinder - Class in org.glassfish.jersey.server.mvc.internal
Provides MVC functionality.
MvcBinder() - Constructor for class org.glassfish.jersey.server.mvc.internal.MvcBinder
 
MvcFeature - Class in org.glassfish.jersey.server.mvc
MvcFeature used to add MVC support to the server.
MvcFeature() - Constructor for class org.glassfish.jersey.server.mvc.MvcFeature
 

N

name() - Method in annotation type org.glassfish.jersey.server.mvc.ErrorTemplate
The template name that should be used to display an error raised during processing a request.
name() - Method in annotation type org.glassfish.jersey.server.mvc.Template
The template name that should be used to output the entity.

O

org.glassfish.jersey.server.mvc - package org.glassfish.jersey.server.mvc
Provides support for Model, View and Controller (MVC).
org.glassfish.jersey.server.mvc.internal - package org.glassfish.jersey.server.mvc.internal
Jersey server-side internal MVC (Model View Controller) classes.
org.glassfish.jersey.server.mvc.spi - package org.glassfish.jersey.server.mvc.spi
Provides support for view aspect of model view controller and templates that produce views.

R

resolve(String, MediaType) - Method in class org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor
 
resolve(String, MediaType) - Method in interface org.glassfish.jersey.server.mvc.spi.TemplateProcessor
Resolve a template name to a template reference.
resolve(String, Reader) - Method in class org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor
Resolve given template path and/or reader to a template reference object.
ResolvedViewable<T> - Class in org.glassfish.jersey.server.mvc.spi
A resolved viewable.
ResolvedViewable(TemplateProcessor<T>, T, Viewable, MediaType) - Constructor for class org.glassfish.jersey.server.mvc.spi.ResolvedViewable
Create a resolved viewable.
ResolvedViewable(TemplateProcessor<T>, T, Viewable, Class<?>, MediaType) - Constructor for class org.glassfish.jersey.server.mvc.spi.ResolvedViewable
Create a resolved viewable.
resolveViewable(Viewable, MediaType, Class<?>, TemplateProcessor) - Method in interface org.glassfish.jersey.server.mvc.spi.ViewableContext
Resolve given viewable using mediaType, resourceClass and templateProcessor.

S

setContentType(MediaType, MultivaluedMap<String, Object>) - Method in class org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor
Set the HttpHeaders.CONTENT_TYPE header to the httpHeaders based on mediaType and default encoding defined in this processor.

T

Template - Annotation Type in org.glassfish.jersey.server.mvc
Used to annotate JAX-RS resources and resource methods to provide reference to a template for MVC support.
TEMPLATE_BASE_PATH - Static variable in class org.glassfish.jersey.server.mvc.MvcFeature
String property defining the base path to MVC templates.
TEMPLATE_ERROR_CLOSING_READER() - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
File reader was not closed properly.
TEMPLATE_HANDLER_ALREADY_ENHANCED(Object) - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
Handler class "{0}" has been already enhanced.
TEMPLATE_MODEL_OF_VIEW_CANNOT_BE_NULL() - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
The model of the view MUST not be null.
TEMPLATE_NAME_COULD_NOT_BE_RESOLVED(Object) - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
The template name "{0}" could not be resolved to a fully qualified template name.
TEMPLATE_NAME_MUST_NOT_BE_NULL() - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
The template name MUST not be null.
TEMPLATE_NAMES_COULD_NOT_BE_RESOLVED(Object, Object, Object) - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
Neither of the template names ({0}) could be resolved to a fully qualified template name.
TEMPLATE_NO_MATCHING_RESOURCE_AVAILABLE() - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
There is no last matching resource available.
TEMPLATE_OBJECT_FACTORY - Static variable in class org.glassfish.jersey.server.mvc.MvcFeature
Property used to pass user-configured factory able to create template objects.
TEMPLATE_RESOLVE_ERROR(Object) - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
An exception occurred during resolving the {0} template.
TEMPLATE_RESOLVING_CLASS_CANNOT_BE_NULL() - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
Resolving class MUST not be null.
TemplateHelper - Class in org.glassfish.jersey.server.mvc.internal
Helper class to provide some common functionality related to MVC.
TemplateInflector - Interface in org.glassfish.jersey.server.mvc.internal
Interface providing information about implicit viewable resource classes.
TemplateProcessor<T> - Interface in org.glassfish.jersey.server.mvc.spi
A view processor.
toResponse(T) - Method in class org.glassfish.jersey.server.mvc.spi.AbstractErrorTemplateMapper
 

V

Viewable - Class in org.glassfish.jersey.server.mvc
A viewable type referencing a template by name and a model to be passed to the template.
Viewable(String) - Constructor for class org.glassfish.jersey.server.mvc.Viewable
Construct a new viewable type with a template name.
Viewable(String, Object) - Constructor for class org.glassfish.jersey.server.mvc.Viewable
Construct a new viewable type with a template name and a model.
ViewableContext - Interface in org.glassfish.jersey.server.mvc.spi
The context for resolving an instance of Viewable to an instance of ResolvedViewable.
ViewableContextException - Exception in org.glassfish.jersey.server.mvc.spi
A runtime exception associated with errors when resolving a Viewable to a ResolvedViewable by methods on ViewableContext.
ViewableContextException(String) - Constructor for exception org.glassfish.jersey.server.mvc.spi.ViewableContextException
Construct a new instance with the supplied message.
ViewableContextException(String, Throwable) - Constructor for exception org.glassfish.jersey.server.mvc.spi.ViewableContextException
Construct a new instance with the supplied message and cause.
ViewableContextException(Throwable) - Constructor for exception org.glassfish.jersey.server.mvc.spi.ViewableContextException
Construct a new instance with the supplied cause.

W

writeTo(OutputStream, MultivaluedMap<String, Object>) - Method in class org.glassfish.jersey.server.mvc.spi.ResolvedViewable
Write the resolved viewable.
writeTo(T, Viewable, MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in interface org.glassfish.jersey.server.mvc.spi.TemplateProcessor
Process a template and write the result to an output stream.
WRONG_TEMPLATE_OBJECT_FACTORY(Object, Object) - Static method in class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
Provided template object factory class, {0}, is not assignable from required type {1}.
A C E G I L M N O R S T V W 
All Classes All Packages