Skip navigation links
A B C D E F G H I J M P R S V 

A

AfterControllerEvent - Interface in javax.mvc.event
Event fired after a controller returns successfully.
AfterProcessViewEvent - Interface in javax.mvc.event
Event fired after the view engine method ViewEngine.processView(javax.mvc.engine.ViewEngineContext) returns successfully.
APPLICATION - Static variable in interface javax.mvc.engine.Priorities
Recommended priority for all application-provided view engines.

B

BeforeControllerEvent - Interface in javax.mvc.event
Event fired before a controller is called but after it has been matched.
BeforeProcessViewEvent - Interface in javax.mvc.event
Event fired after a view engine has been selected but before its ViewEngine.processView(javax.mvc.engine.ViewEngineContext) method is called.
BindingError - Interface in javax.mvc.binding
Represents a single error that occurred while binding a parameter to a controller method argument or controller field using a binding annotation like FormParam.
BindingResult - Interface in javax.mvc.binding
Describes the binding result of all controller fields and controller method parameters which are annotated with a binding annotation like FormParam.

C

Controller - Annotation Type in javax.mvc.annotation
Declares a method as a controller.
ControllerRedirectEvent - Interface in javax.mvc.event
Event fired when a controller returns a redirect status code.
Csrf - Interface in javax.mvc.security
Cross Site Request Forgery (CSRF) interface with access to the CSRF header name and the CSRF token value.
Csrf.CsrfOptions - Enum in javax.mvc.security
Options for property Csrf.CSRF_PROTECTION.
CSRF_PROTECTION - Static variable in interface javax.mvc.security.Csrf
Property that can be used to globally enable CSRF protection for an application.
CsrfValid - Annotation Type in javax.mvc.annotation
A controller annotation to validate a CSRF token value received in a request whenever the property Csrf.CSRF_PROTECTION is set to Csrf.CsrfOptions.EXPLICIT.

D

DEFAULT - Static variable in interface javax.mvc.engine.Priorities
Default priority for all built-in view engines.
DEFAULT_VIEW_FOLDER - Static variable in interface javax.mvc.engine.ViewEngine
Default value for property ViewEngine.VIEW_FOLDER.

E

Encoders - Interface in javax.mvc.security
Interface that provides encoders to escape code in JavaScript, HTML, etc.

F

FRAMEWORK - Static variable in interface javax.mvc.engine.Priorities
Recommended priority for all view engines provided by frameworks built on top of MVC implementations.

G

getAllBindingErrors() - Method in interface javax.mvc.binding.BindingResult
Returns an immutable set of all binding errors detected while processing parameter bindings.
getAllMessages() - Method in interface javax.mvc.binding.BindingResult
Returns an immutable list of all messages representing both binding errors and constraint violations.
getAllViolations() - Method in interface javax.mvc.binding.BindingResult
Returns an immutable set of all constraint violations detected.
getApplicationPath() - Method in interface javax.mvc.MvcContext
Get the application's path which was set using the ApplicationPath annotation.
getBasePath() - Method in interface javax.mvc.MvcContext
Get the application's base path which is defined as the concatenation of context and application paths.
getBindingError(String) - Method in interface javax.mvc.binding.BindingResult
Returns the binding error for the binding specified by the given parameter name.
getConfig() - Method in interface javax.mvc.MvcContext
Get the JAX-RS application configuration object.
getConfiguration() - Method in interface javax.mvc.engine.ViewEngineContext
Returns the application's configuration.
getContextPath() - Method in interface javax.mvc.MvcContext
Get the application's context path.
getCsrf() - Method in interface javax.mvc.MvcContext
Get the CSRF object.
getEncoders() - Method in interface javax.mvc.MvcContext
Get the built-in encoders.
getEngine() - Method in interface javax.mvc.event.AfterProcessViewEvent
Returns the ViewEngine selected by the implementation.
getEngine() - Method in interface javax.mvc.event.BeforeProcessViewEvent
Returns the ViewEngine selected by the implementation.
getId() - Method in interface javax.mvc.event.MvcEvent
A unique identifier for this event.
getLocation() - Method in interface javax.mvc.event.ControllerRedirectEvent
The target of the redirection.
getMessage() - Method in interface javax.mvc.binding.BindingError
Returns the interpolated error message for this binding error.
getModels() - Method in interface javax.mvc.engine.ViewEngineContext
Returns the models instance needed to process the view.
getModels() - Method in class javax.mvc.Viewable
Get the models instance.
getName() - Method in interface javax.mvc.security.Csrf
Returns the name of the CSRF header.
getParamName() - Method in interface javax.mvc.binding.BindingError
The parameter name of the value that caused the binding error.
getRequest() - Method in interface javax.mvc.engine.ViewEngineContext
Returns HTTP request object from the Servlet container.
getResourceInfo() - Method in interface javax.mvc.engine.ViewEngineContext
Returns the ResourceInfo instance containing information about the controller method matched in the current request.
getResourceInfo() - Method in interface javax.mvc.event.AfterControllerEvent
Access to the current request controller information.
getResourceInfo() - Method in interface javax.mvc.event.BeforeControllerEvent
Access to the current request controller information.
getResourceInfo() - Method in interface javax.mvc.event.ControllerRedirectEvent
Access to the current request controller information.
getResponse() - Method in interface javax.mvc.engine.ViewEngineContext
Returns HTTP response object from the servlet container.
getToken() - Method in interface javax.mvc.security.Csrf
Returns the value of the CSRF token.
getUriInfo() - Method in interface javax.mvc.engine.ViewEngineContext
Returns the UriInfo instance containing information about the current request URI.
getUriInfo() - Method in interface javax.mvc.event.AfterControllerEvent
Access to the current request URI information.
getUriInfo() - Method in interface javax.mvc.event.BeforeControllerEvent
Access to the current request URI information.
getUriInfo() - Method in interface javax.mvc.event.ControllerRedirectEvent
Access to the current request URI information.
getView() - Method in interface javax.mvc.engine.ViewEngineContext
Returns the view.
getView() - Method in interface javax.mvc.event.AfterProcessViewEvent
Returns the view being processed.
getView() - Method in interface javax.mvc.event.BeforeProcessViewEvent
Returns the view being processed.
getView() - Method in class javax.mvc.Viewable
Get the view.
getViewEngine() - Method in class javax.mvc.Viewable
Get the view engine instance.
getViolation(String) - Method in interface javax.mvc.binding.BindingResult
Returns a single constraint violation detected for a parameter binding specified by the given parameter name.
getViolations(String) - Method in interface javax.mvc.binding.BindingResult
Returns an immutable set of all constraint violations detected for a parameter binding specified by the given parameter name.

H

html(String) - Method in interface javax.mvc.security.Encoders
Encoding for HTML code in attributes or content.

I

isFailed() - Method in interface javax.mvc.binding.BindingResult
Returns true if there is at least one binding error or constraint violation.

J

javax.mvc - package javax.mvc
The root MVC API package.
javax.mvc.annotation - package javax.mvc.annotation
Annotations defined in the MVC API.
javax.mvc.binding - package javax.mvc.binding
Types related to the handling of data binding and validation.
javax.mvc.engine - package javax.mvc.engine
The view engine SPI.
javax.mvc.event - package javax.mvc.event
CDI events fired by implementations and observable by applications.
javax.mvc.security - package javax.mvc.security
Types related to Web security.
js(String) - Method in interface javax.mvc.security.Encoders
Encoding for JavaScript code in attributes or script blocks.

M

Models - Interface in javax.mvc
A map of name to model instances used by a ViewEngine to process a view.
MvcContext - Interface in javax.mvc
This class provides contextual information such as context and application paths as well as access to the JAX-RS application configuration object.
MvcEvent - Interface in javax.mvc.event
Base type for all MVC events.

P

Priorities - Interface in javax.mvc.engine
Defines priority classes that can used together with the Priority annotation to decorate ViewEngine implementations.
processView(ViewEngineContext) - Method in interface javax.mvc.engine.ViewEngine
Process a view given a ViewEngineContext.

R

RedirectScoped - Annotation Type in javax.mvc.annotation
An annotation that defines a new CDI-based scope supported by the MVC API.

S

setModels(Models) - Method in class javax.mvc.Viewable
Set the models instance.
setView(String) - Method in class javax.mvc.Viewable
Set a new view.
setViewEngine(Class<? extends ViewEngine>) - Method in class javax.mvc.Viewable
Set the view engine instance.
supports(String) - Method in interface javax.mvc.engine.ViewEngine
Returns true if this engine can process the view or false otherwise.

V

valueOf(String) - Static method in enum javax.mvc.security.Csrf.CsrfOptions
Returns the enum constant of this type with the specified name.
values() - Static method in enum javax.mvc.security.Csrf.CsrfOptions
Returns an array containing the constants of this enum type, in the order they are declared.
View - Annotation Type in javax.mvc.annotation
Declares a view for a controller that returns void, or for a controller that may return null and wants to declare a default value.
VIEW_FOLDER - Static variable in interface javax.mvc.engine.ViewEngine
Name of property that can be set in an application's Configuration to override the root location for views in an archive.
Viewable - Class in javax.mvc
An abstraction that encapsulates information about a view as well as an instance of Models and a ViewEngine class, in which only the view information is mandatory.
Viewable(String) - Constructor for class javax.mvc.Viewable
Constructs an instance specifying only a view.
Viewable(String, Class<? extends ViewEngine>) - Constructor for class javax.mvc.Viewable
Constructs an instance using a view and a view engine.
Viewable(String, Models) - Constructor for class javax.mvc.Viewable
Constructs an instance using a view and a models instance.
Viewable(String, Models, Class<? extends ViewEngine>) - Constructor for class javax.mvc.Viewable
Constructs an instance using a view, a models and a view engine instances.
ViewEngine - Interface in javax.mvc.engine
View engines are responsible for processing views and are discovered using CDI.
ViewEngineContext - Interface in javax.mvc.engine
Contextual data used by a ViewEngine to process a view.
ViewEngineException - Exception in javax.mvc.engine
Exception thrown by ViewEngine.processView(ViewEngineContext) when unable to process a view.
ViewEngineException(String) - Constructor for exception javax.mvc.engine.ViewEngineException
Construct an instance using a message.
ViewEngineException(String, Throwable) - Constructor for exception javax.mvc.engine.ViewEngineException
Construct an instance using a message and a cause.
ViewEngineException(Throwable) - Constructor for exception javax.mvc.engine.ViewEngineException
Construct an instance using a cause.
A B C D E F G H I J M P R S V 
Skip navigation links

Copyright © 2015 Oracle Corporation. All rights reserved.