Skip navigation links
A C E G I M O R S T V W 

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(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).

G

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.
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.
getTemplateName() - Method in class org.glassfish.jersey.server.mvc.Viewable
Get the template name.
getTemplateObjectFactory(Function<Class<?>, ?>, Class<F>, Value<F>) - Method in class org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor
Retrieve a template object factory.

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.

M

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
 

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.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, Reader) - Method in class org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor
Resolve given template path and/or reader to a template reference object.
resolve(String, MediaType) - Method in interface org.glassfish.jersey.server.mvc.spi.TemplateProcessor
Resolve a template name to a template reference.
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_OBJECT_FACTORY - Static variable in class org.glassfish.jersey.server.mvc.MvcFeature
Property used to pass user-configured factory able to create template objects.
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.
A C E G I M O R S T V W 
Skip navigation links

Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.