C D G I L M O R S T V W

C

configure() - Method in class org.glassfish.jersey.server.mvc.internal.MvcBinder
 
configure(FeatureContext) - Method in class org.glassfish.jersey.server.mvc.MvcFeature
 

D

DefaultTemplateProcessor<T> - Class in org.glassfish.jersey.server.mvc.internal
Implementation of TemplateProcessor common to cases where a base path in template name should be used when resolving a viewable.
DefaultTemplateProcessor(Configuration) - Constructor for class org.glassfish.jersey.server.mvc.internal.DefaultTemplateProcessor
Creates an instance of DefaultTemplateProcessor.

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.internal.DefaultTemplateProcessor
Get configured base path of this processor's templates.
getExtensions() - Method in class org.glassfish.jersey.server.mvc.internal.DefaultTemplateProcessor
Get a list of possible file extensions for this template processor.
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.
getPossibleTemplateNames(String) - Method in class org.glassfish.jersey.server.mvc.internal.DefaultTemplateProcessor
Get all possible template names which should be looked for during resolving a 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.Viewable
Get the resolving class.
getTemplateAnnotation(Annotation[]) - Static method in class org.glassfish.jersey.server.mvc.internal.TemplateHelper
Extract template annotation from given list.
getTemplateName(String) - Method in class org.glassfish.jersey.server.mvc.internal.DefaultTemplateProcessor
Get template name prefixed with the base path.
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.
getTemplateName() - Method in class org.glassfish.jersey.server.mvc.Viewable
Get the template name.

I

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

L

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_RESOLVING_CLASS_CANNOT_BE_NULL() - 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
LocalizationMessages() - Constructor for class org.glassfish.jersey.server.mvc.internal.LocalizationMessages
 

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
 
MvcProperties - Class in org.glassfish.jersey.server.mvc
Jersey MVC configuration properties.

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
 
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 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, resolvingClass and templateProcessor.

S

setBasePathFromProperty(String) - Method in class org.glassfish.jersey.server.mvc.internal.DefaultTemplateProcessor
Set the base path field of this processor using value obtained from configuration with given basePathPropertyName.

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.MvcProperties
The base path where templates, associated with viewables of resource classes, are located.
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_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.
TemplateProcessor<T> - Interface in org.glassfish.jersey.server.mvc.spi
A view processor.

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.
Viewable(String, Object, Class<?>) - Constructor for class org.glassfish.jersey.server.mvc.Viewable
Construct a new viewable type with a template name, a model and a resolving class.
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) - Method in class org.glassfish.jersey.server.mvc.spi.ResolvedViewable
Write the resolved viewable.
writeTo(T, Viewable, MediaType, OutputStream) - Method in interface org.glassfish.jersey.server.mvc.spi.TemplateProcessor
Process a template and write the result to an output stream.

C D G I L M O R S T V W

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