org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation
Class RestParameters

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.RestParameters

@Dependent
public abstract class RestParameters
extends Object

This class holds information about the last used RestParameters for a given window.


Constructor Summary
RestParameters()
           
 
Method Summary
abstract  String getRestId()
          Check the view parameters of the given viewId.
abstract  boolean isPostback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestParameters

public RestParameters()
Method Detail

getRestId

public abstract String getRestId()
Check the view parameters of the given viewId. The restId must also contain the viewId itself! The restId must be different if either the view or any of it's parameters get changed.

Returns:
a key which uniquely identifies the view and all it's GET parameters

isPostback

public abstract boolean isPostback()
Returns:
true if the current request is a POST request.


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.