See: Description
Class | Description |
---|---|
MvcFeature |
MvcFeature used to add MVC support to the server. |
Viewable |
A viewable type referencing a template by name and a model to be passed
to the template.
|
Annotation Type | Description |
---|---|
ErrorTemplate |
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).
|
Template |
Used to annotate JAX-RS resources and resource methods to provide reference to a template for MVC support.
|
Viewable
that
encapsulates the template name and the model. In this respect the instance ofViewable
is the response entity. Such a viewable response entity may be set in contexts other than a resource method but for the
purposes of this section the focus is on resource methods.
The Viewable
, returned by a resource method,
will be processed such that the template name is resolved to a template reference that identifies a template capable of
being processed by an appropriate view processor.
Viewable
instances are supported: explicit; and implicit.Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.