Top Description Fields Constructors Methods
javax.faces.application

public abstract Class ViewHandlerWrapper

extends ViewHandler
implements FacesWrapper<ViewHandler>
Class Inheritance
All Implemented Interfaces
javax.faces.FacesWrapper
Imports
java.io.IOException, java.util.List, .Locale, .Map, .Set, java.util.stream.Stream, javax.faces.FacesException, .FacesWrapper, javax.faces.component.UIViewRoot, javax.faces.context.FacesContext, javax.faces.view.ViewDeclarationLanguage

Provides a simple implementation of ViewHandler that can be subclassed by developers wishing to provide specialized behavior to an existing ViewHandler instance. The default implementation of all methods is to call through to the wrapped ViewHandler.

Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped to access the instance being wrapped.

Since
1.2

Field Summary

Modifier and TypeField and Description
private ViewHandler
Inherited from javax.faces.application.ViewHandler:
CHARACTER_ENCODING_KEYDEFAULT_FACELETS_SUFFIXDEFAULT_SUFFIXDEFAULT_SUFFIX_PARAM_NAMEDISABLE_FACELET_JSF_VIEWHANDLER_PARAM_NAMEFACELETS_BUFFER_SIZE_PARAM_NAMEFACELETS_DECORATORS_PARAM_NAMEFACELETS_LIBRARIES_PARAM_NAMEFACELETS_REFRESH_PERIOD_PARAM_NAMEFACELETS_SKIP_COMMENTS_PARAM_NAMEFACELETS_SUFFIX_PARAM_NAMEFACELETS_VIEW_MAPPINGS_PARAM_NAME

Constructor Summary

AccessConstructor and Description
public
ViewHandlerWrapper(ViewHandler
The implementation being wrapped.
wrapped
)

If this view handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor.

public
ViewHandlerWrapper()

Deprecated Use the other constructor taking the implementation being wrapped.

Method Summary

Modifier and TypeMethod and Description
public void
addProtectedView(String
the url-pattern to add.
urlPattern
)

Overrides javax.faces.application.ViewHandler.addProtectedView.

The default behavior of this method is to call ViewHandler#addProtectedView on the wrapped ViewHandler object.

public String
public Locale
calculateLocale(FacesContext
FacesContext for the current request
context
)

Implements abstract javax.faces.application.ViewHandler.calculateLocale.

The default behavior of this method is to call ViewHandler#calculateLocale(javax.faces.context.FacesContext) on the wrapped ViewHandler object.

public String
calculateRenderKitId(FacesContext
FacesContext for the current request
context
)

Implements abstract javax.faces.application.ViewHandler.calculateRenderKitId.

The default behavior of this method is to call ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext) on the wrapped ViewHandler object.

public UIViewRoot
createView(FacesContext
the Faces context.
context
,
String
the view id.
viewId
)

Implements abstract javax.faces.application.ViewHandler.createView.

The default behavior of this method is to call ViewHandler#createView(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

public String
deriveLogicalViewId(FacesContext
the FacesContext for this request
context
,
String
the viewId to derive,
requestViewId
)

Overrides javax.faces.application.ViewHandler.deriveLogicalViewId.

The default behavior of this method is to call ViewHandler#deriveLogicalViewId(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

public String
deriveViewId(FacesContext
the FacesContext for this request
context
,
String
the viewId to derive,
requestViewId
)

Overrides javax.faces.application.ViewHandler.deriveViewId.

The default behavior of this method is to call ViewHandler#deriveViewId(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

public String
getActionURL(FacesContext
FacesContext for this request
context
,
String
View identifier of the desired view
viewId
)

Implements abstract javax.faces.application.ViewHandler.getActionURL.

The default behavior of this method is to call ViewHandler#getActionURL(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

public String
getBookmarkableURL(FacesContext
The FacesContext processing this request
context
,
String
The view identifier of the target page
viewId
,
Map<String, List<String>>
A mapping of parameter names to one or more values
parameters
,
boolean
A flag indicating whether view parameters should be encoded into this URL
includeViewParams
)

Overrides javax.faces.application.ViewHandler.getBookmarkableURL.

The default behavior of this method is to call ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean) on the wrapped ViewHandler object.

public Set<String>
public String
getRedirectURL(FacesContext
The FacesContext processing this request
context
,
String
The view identifier of the target page
viewId
,
Map<String, List<String>>
A mapping of parameter names to one or more values
parameters
,
boolean
A flag indicating whether view parameters should be encoded into this URL
includeViewParams
)

Overrides javax.faces.application.ViewHandler.getRedirectURL.

The default behavior of this method is to call ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean) on the wrapped ViewHandler object.

public String
getResourceURL(FacesContext
FacesContext for the current request
context
,
String
Resource path to convert to a URL
path
)

Implements abstract javax.faces.application.ViewHandler.getResourceURL.

The default behavior of this method is to call ViewHandler#getResourceURL(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

public ViewDeclarationLanguage
getViewDeclarationLanguage(FacesContext
the FacesContext for this request.
context
,
String
the logical view id, as returned from deriveLogicalViewId for which the ViewDeclarationLanguage should be returned.
viewId
)

Overrides javax.faces.application.ViewHandler.getViewDeclarationLanguage.

The default behavior of this method is to call ViewHandler#getViewDeclarationLanguage on the wrapped ViewHandler object.

public Stream<String>
getViews(FacesContext
The FacesContext for this request.
context
,
String
The initial path from which to start looking for view ids.
path
,
ViewVisitOption...
The options to influence the traversal. See ViewVisitOption for details on those.
options
)

Overrides javax.faces.application.ViewHandler.getViews.

The default behavior of this method is to call ViewHandler#getViews(FacesContext, String, ViewVisitOption...) on the wrapped ViewHandler object.

public Stream<String>
getViews(FacesContext
The FacesContext for this request.
context
,
String
The initial path from which to start looking for view ids.
path
,
int
The absolute maximum depth of nested directories to visit counted from the root (/).
maxDepth
,
ViewVisitOption...
The options to influence the traversal. See ViewVisitOption for details on those.
options
)

Overrides javax.faces.application.ViewHandler.getViews.

The default behavior of this method is to call ViewHandler#getViews(FacesContext, String, int, ViewVisitOption...) on the wrapped ViewHandler object.

public String
getWebsocketURL(FacesContext
FacesContext for the current request.
context
,
String
The channel name of the websocket.
channel
)

Implements abstract javax.faces.application.ViewHandler.getWebsocketURL.

The default behavior of this method is to call ViewHandler#getWebsocketURL(FacesContext, String) on the wrapped ViewHandler object.

public ViewHandler
getWrapped()

Implements javax.faces.FacesWrapper.getWrapped.

A class that implements this interface uses this method to return an instance of the class being wrapped.

public void
initView(FacesContext
the Faces context.
context
)

Overrides javax.faces.application.ViewHandler.initView.

The default behavior of this method is to call ViewHandler#initView on the wrapped ViewHandler object.

public boolean
removeProtectedView(String
the url-pattern to remove.
urlPattern
)

Overrides javax.faces.application.ViewHandler.removeProtectedView.

The default behavior of this method is to call ViewHandler#removeProtectedView on the wrapped ViewHandler object.

public void
renderView(FacesContext
FacesContext for the current request
context
,
UIViewRoot
the view to render
viewToRender
)

Implements abstract javax.faces.application.ViewHandler.renderView.

The default behavior of this method is to call ViewHandler#renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot) on the wrapped ViewHandler object.

public UIViewRoot
restoreView(FacesContext
FacesContext for the current request
context
,
String
the view identifier for the current request
viewId
)

Implements abstract javax.faces.application.ViewHandler.restoreView.

The default behavior of this method is to call ViewHandler#restoreView(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

public void
writeState(FacesContext
FacesContext for the current request
context
)

Implements abstract javax.faces.application.ViewHandler.writeState.

The default behavior of this method is to call ViewHandler#writeState(javax.faces.context.FacesContext) on the wrapped ViewHandler object.

Field Detail

wrappedback to summary
private ViewHandler wrapped

Constructor Detail

ViewHandlerWrapperback to summary
public ViewHandlerWrapper(ViewHandler wrapped)

If this view handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The getWrapped() will then return the implementation being wrapped.

Parameters
wrapped:ViewHandler

The implementation being wrapped.

Since
2.3
ViewHandlerWrapperback to summary
public ViewHandlerWrapper()

Deprecated

Use the other constructor taking the implementation being wrapped.

Annotations
@Deprecated

Method Detail

addProtectedViewback to summary
public void addProtectedView(String urlPattern)

Overrides javax.faces.application.ViewHandler.addProtectedView.

The default behavior of this method is to call ViewHandler#addProtectedView on the wrapped ViewHandler object.

Parameters
urlPattern:String

Doc from javax.faces.application.ViewHandler.addProtectedView.

the url-pattern to add.

Annotations
@Override
Since
2.2
See Also
ViewHandler#addProtectedView
calculateCharacterEncodingback to summary
public String calculateCharacterEncoding(FacesContext context)

Overrides javax.faces.application.ViewHandler.calculateCharacterEncoding.

The default behavior of this method is to call ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.calculateCharacterEncoding.

the Faces context.

Returns:String

Doc from javax.faces.application.ViewHandler.calculateCharacterEncoding.

the character encoding, or null

Annotations
@Override
Since
1.2
See Also
ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)
calculateLocaleback to summary
public Locale calculateLocale(FacesContext context)

Implements abstract javax.faces.application.ViewHandler.calculateLocale.

The default behavior of this method is to call ViewHandler#calculateLocale(javax.faces.context.FacesContext) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.calculateLocale.

FacesContext for the current request

Returns:Locale

Doc from javax.faces.application.ViewHandler.calculateLocale.

the locale.

Annotations
@Override
Since
1.2
See Also
ViewHandler#calculateLocale(javax.faces.context.FacesContext)
calculateRenderKitIdback to summary
public String calculateRenderKitId(FacesContext context)

Implements abstract javax.faces.application.ViewHandler.calculateRenderKitId.

The default behavior of this method is to call ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.calculateRenderKitId.

FacesContext for the current request

Returns:String

Doc from javax.faces.application.ViewHandler.calculateRenderKitId.

the render kit id.

Annotations
@Override
Since
1.2
See Also
ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext)
createViewback to summary
public UIViewRoot createView(FacesContext context, String viewId)

Implements abstract javax.faces.application.ViewHandler.createView.

The default behavior of this method is to call ViewHandler#createView(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.createView.

the Faces context.

viewId:String

Doc from javax.faces.application.ViewHandler.createView.

the view id.

Returns:UIViewRoot

Doc from javax.faces.application.ViewHandler.createView.

the viewroot.

Annotations
@Override
Since
1.2
See Also
ViewHandler#createView(javax.faces.context.FacesContext, String)
deriveLogicalViewIdback to summary
public String deriveLogicalViewId(FacesContext context, String requestViewId)

Overrides javax.faces.application.ViewHandler.deriveLogicalViewId.

The default behavior of this method is to call ViewHandler#deriveLogicalViewId(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.deriveLogicalViewId.

the FacesContext for this request

requestViewId:String

Doc from javax.faces.application.ViewHandler.deriveLogicalViewId.

the viewId to derive,

Returns:String

Doc from javax.faces.application.ViewHandler.deriveLogicalViewId.

the derived logical view id.

Annotations
@Override
Since
2.1
See Also
ViewHandler#deriveLogicalViewId(javax.faces.context.FacesContext, String)
deriveViewIdback to summary
public String deriveViewId(FacesContext context, String requestViewId)

Overrides javax.faces.application.ViewHandler.deriveViewId.

The default behavior of this method is to call ViewHandler#deriveViewId(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.deriveViewId.

the FacesContext for this request

requestViewId:String

Doc from javax.faces.application.ViewHandler.deriveViewId.

the viewId to derive,

Returns:String

Doc from javax.faces.application.ViewHandler.deriveViewId.

the derived view id.

Annotations
@Override
Since
2.0
See Also
ViewHandler#deriveViewId(javax.faces.context.FacesContext, String)
getActionURLback to summary
public String getActionURL(FacesContext context, String viewId)

Implements abstract javax.faces.application.ViewHandler.getActionURL.

The default behavior of this method is to call ViewHandler#getActionURL(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.getActionURL.

FacesContext for this request

viewId:String

Doc from javax.faces.application.ViewHandler.getActionURL.

View identifier of the desired view

Returns:String

Doc from javax.faces.application.ViewHandler.getActionURL.

the action url.

Annotations
@Override
Since
1.2
See Also
ViewHandler#getActionURL(javax.faces.context.FacesContext, String)
getBookmarkableURLback to summary
public String getBookmarkableURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams)

Overrides javax.faces.application.ViewHandler.getBookmarkableURL.

The default behavior of this method is to call ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.getBookmarkableURL.

The FacesContext processing this request

viewId:String

Doc from javax.faces.application.ViewHandler.getBookmarkableURL.

The view identifier of the target page

parameters:Map<String, List<String>>

Doc from javax.faces.application.ViewHandler.getBookmarkableURL.

A mapping of parameter names to one or more values

includeViewParams:boolean

Doc from javax.faces.application.ViewHandler.getBookmarkableURL.

A flag indicating whether view parameters should be encoded into this URL

Returns:String

Doc from javax.faces.application.ViewHandler.getBookmarkableURL.

the bookmarkable URL.

Annotations
@Override
Since
2.0
See Also
ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
getProtectedViewsUnmodifiableback to summary
public Set<String> getProtectedViewsUnmodifiable()

Overrides javax.faces.application.ViewHandler.getProtectedViewsUnmodifiable.

The default behavior of this method is to call ViewHandler#getProtectedViewsUnmodifiable on the wrapped ViewHandler object.

Returns:Set<String>

Doc from javax.faces.application.ViewHandler.getProtectedViewsUnmodifiable.

the unmodifiable set of protected views.

Annotations
@Override
Since
2.2
See Also
ViewHandler#getProtectedViewsUnmodifiable
getRedirectURLback to summary
public String getRedirectURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams)

Overrides javax.faces.application.ViewHandler.getRedirectURL.

The default behavior of this method is to call ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.getRedirectURL.

The FacesContext processing this request

viewId:String

Doc from javax.faces.application.ViewHandler.getRedirectURL.

The view identifier of the target page

parameters:Map<String, List<String>>

Doc from javax.faces.application.ViewHandler.getRedirectURL.

A mapping of parameter names to one or more values

includeViewParams:boolean

Doc from javax.faces.application.ViewHandler.getRedirectURL.

A flag indicating whether view parameters should be encoded into this URL

Returns:String

Doc from javax.faces.application.ViewHandler.getRedirectURL.

the redirect URL.

Annotations
@Override
Since
2.0
See Also
ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
getResourceURLback to summary
public String getResourceURL(FacesContext context, String path)

Implements abstract javax.faces.application.ViewHandler.getResourceURL.

The default behavior of this method is to call ViewHandler#getResourceURL(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.getResourceURL.

FacesContext for the current request

path:String

Doc from javax.faces.application.ViewHandler.getResourceURL.

Resource path to convert to a URL

Returns:String

Doc from javax.faces.application.ViewHandler.getResourceURL.

the resource URL.

Annotations
@Override
Since
1.2
See Also
ViewHandler#getResourceURL(javax.faces.context.FacesContext, String)
getViewDeclarationLanguageback to summary
public ViewDeclarationLanguage getViewDeclarationLanguage(FacesContext context, String viewId)

Overrides javax.faces.application.ViewHandler.getViewDeclarationLanguage.

The default behavior of this method is to call ViewHandler#getViewDeclarationLanguage on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.getViewDeclarationLanguage.

the FacesContext for this request.

viewId:String

Doc from javax.faces.application.ViewHandler.getViewDeclarationLanguage.

the logical view id, as returned from deriveLogicalViewId for which the ViewDeclarationLanguage should be returned.

Returns:ViewDeclarationLanguage

Doc from javax.faces.application.ViewHandler.getViewDeclarationLanguage.

the ViewDeclarationLanguage, or null.

Annotations
@Override
Since
2.0
getViewsback to summary
public Stream<String> getViews(FacesContext context, String path, ViewVisitOption... options)

Overrides javax.faces.application.ViewHandler.getViews.

The default behavior of this method is to call ViewHandler#getViews(FacesContext, String, ViewVisitOption...) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.getViews.

The FacesContext for this request.

path:String

Doc from javax.faces.application.ViewHandler.getViews.

The initial path from which to start looking for view ids.

options:ViewVisitOption[]

Doc from javax.faces.application.ViewHandler.getViews.

The options to influence the traversal. See ViewVisitOption for details on those.

Returns:Stream<String>

Doc from javax.faces.application.ViewHandler.getViews.

the Stream of view ids

Annotations
@Override
Since
2.3
getViewsback to summary
public Stream<String> getViews(FacesContext context, String path, int maxDepth, ViewVisitOption... options)

Overrides javax.faces.application.ViewHandler.getViews.

The default behavior of this method is to call ViewHandler#getViews(FacesContext, String, int, ViewVisitOption...) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.getViews.

The FacesContext for this request.

path:String

Doc from javax.faces.application.ViewHandler.getViews.

The initial path from which to start looking for view ids.

maxDepth:int

Doc from javax.faces.application.ViewHandler.getViews.

The absolute maximum depth of nested directories to visit counted from the root (/).

options:ViewVisitOption[]

Doc from javax.faces.application.ViewHandler.getViews.

The options to influence the traversal. See ViewVisitOption for details on those.

Returns:Stream<String>

Doc from javax.faces.application.ViewHandler.getViews.

the Stream of view ids

Annotations
@Override
Since
2.3
getWebsocketURLback to summary
public String getWebsocketURL(FacesContext context, String channel)

Implements abstract javax.faces.application.ViewHandler.getWebsocketURL.

The default behavior of this method is to call ViewHandler#getWebsocketURL(FacesContext, String) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.getWebsocketURL.

FacesContext for the current request.

channel:String

Doc from javax.faces.application.ViewHandler.getWebsocketURL.

The channel name of the websocket.

Returns:String

Doc from javax.faces.application.ViewHandler.getWebsocketURL.

the websocket URL.

Annotations
@Override
Since
2.3
See Also
ViewHandler#getWebsocketURL(FacesContext, String)
getWrappedback to summary
public ViewHandler getWrapped()

Implements javax.faces.FacesWrapper.getWrapped.

Doc from javax.faces.FacesWrapper.getWrapped.

A class that implements this interface uses this method to return an instance of the class being wrapped.

Returns:ViewHandler

the wrapped instance.

Annotations
@Override
initViewback to summary
public void initView(FacesContext context) throws FacesException

Overrides javax.faces.application.ViewHandler.initView.

The default behavior of this method is to call ViewHandler#initView on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.initView.

the Faces context.

Annotations
@Override
Exceptions
FacesException:

Doc from javax.faces.application.ViewHandler.initView.

if a problem occurs setting the encoding, such as the UnsupportedEncodingException thrown by the underlying Servlet or Portlet technology when the encoding is not supported.

Since
1.2
See Also
ViewHandler#initView
removeProtectedViewback to summary
public boolean removeProtectedView(String urlPattern)

Overrides javax.faces.application.ViewHandler.removeProtectedView.

The default behavior of this method is to call ViewHandler#removeProtectedView on the wrapped ViewHandler object.

Parameters
urlPattern:String

Doc from javax.faces.application.ViewHandler.removeProtectedView.

the url-pattern to remove.

Returns:boolean

Doc from javax.faces.application.ViewHandler.removeProtectedView.

true if in the Set, false otherwise.

Annotations
@Override
Since
2.2
See Also
ViewHandler#removeProtectedView
renderViewback to summary
public void renderView(FacesContext context, UIViewRoot viewToRender) throws IOException, FacesException

Implements abstract javax.faces.application.ViewHandler.renderView.

The default behavior of this method is to call ViewHandler#renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.renderView.

FacesContext for the current request

viewToRender:UIViewRoot

Doc from javax.faces.application.ViewHandler.renderView.

the view to render

Annotations
@Override
Exceptions
IOException:

Doc from javax.faces.application.ViewHandler.renderView.

if an input/output error occurs

FacesException:

Doc from javax.faces.application.ViewHandler.renderView.

if a servlet error occurs

Since
1.2
See Also
ViewHandler#renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot)
restoreViewback to summary
public UIViewRoot restoreView(FacesContext context, String viewId)

Implements abstract javax.faces.application.ViewHandler.restoreView.

The default behavior of this method is to call ViewHandler#restoreView(javax.faces.context.FacesContext, String) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.restoreView.

FacesContext for the current request

viewId:String

Doc from javax.faces.application.ViewHandler.restoreView.

the view identifier for the current request

Returns:UIViewRoot

Doc from javax.faces.application.ViewHandler.restoreView.

the restored view root, or null.

Annotations
@Override
Since
1.2
See Also
ViewHandler#restoreView(javax.faces.context.FacesContext, String)
writeStateback to summary
public void writeState(FacesContext context) throws IOException

Implements abstract javax.faces.application.ViewHandler.writeState.

The default behavior of this method is to call ViewHandler#writeState(javax.faces.context.FacesContext) on the wrapped ViewHandler object.

Parameters
context:FacesContext

Doc from javax.faces.application.ViewHandler.writeState.

FacesContext for the current request

Annotations
@Override
Exceptions
IOException:

Doc from javax.faces.application.ViewHandler.writeState.

if an input/output error occurs

Since
1.2
See Also
ViewHandler#writeState(javax.faces.context.FacesContext)