站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PortletRequestDecoder - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.portlet
Class PortletRequestDecoder

java.lang.Object
  extended byorg.jboss.portal.portlet.PortletRequestDecoder

public class PortletRequestDecoder
extends java.lang.Object

This class is a possible implementation for the behavior of a request made to a portlet. Which means that this implementation does not preclude other implementations.

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
static int ACTION_MASK
          The mask for action.
static int ACTION_TYPE
          .
private  Parameters form
          .
static java.lang.String INTERACTION_STATE_PARAMETER
          The name of the URL parameter containing the interaction state.
private  StateString interactionState
          .
static java.lang.String META_PARAMETER
          The name of the URL parameter containing the meta information.
private  Mode mode
          .
static int MODE_MASK
          The mask for mode.
static java.lang.String MODE_PARAMETER
          The name of the URL parameter containing the mode.
static int NAV_TYPE
          .
static java.lang.String NAVIGATIONAL_STATE_PARAMETER
          The name of the URL parameter containing the navigational state.
private  StateString navigationalstate
          .
static int OPAQUE_MASK
          The mask for opacity.
static int RENDER_MASK
          The mask for render.
static int RENDER_TYPE
          .
private  int type
          .
static int WINDOW_STATE_MASK
          The mask for window state.
static java.lang.String WINDOW_STATE_PARAMETER
          The name of the URL parameter containing the window state.
private  WindowState windowState
          .
 
Constructor Summary
PortletRequestDecoder()
           
 
Method Summary
 void decode(java.util.Map queryParams, java.util.Map bodyParams)
           
 Parameters getForm()
           
 StateString getInteractionState()
           
 Mode getMode()
           
 StateString getNavigationalstate()
           
 int getType()
           
 WindowState getWindowState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_MASK

public static final int ACTION_MASK
The mask for action.

See Also:
Constant Field Values

RENDER_MASK

public static final int RENDER_MASK
The mask for render.

See Also:
Constant Field Values

MODE_MASK

public static final int MODE_MASK
The mask for mode.

See Also:
Constant Field Values

WINDOW_STATE_MASK

public static final int WINDOW_STATE_MASK
The mask for window state.

See Also:
Constant Field Values

OPAQUE_MASK

public static final int OPAQUE_MASK
The mask for opacity.

See Also:
Constant Field Values

MODE_PARAMETER

public static final java.lang.String MODE_PARAMETER
The name of the URL parameter containing the mode.

See Also:
Constant Field Values

WINDOW_STATE_PARAMETER

public static final java.lang.String WINDOW_STATE_PARAMETER
The name of the URL parameter containing the window state.

See Also:
Constant Field Values

INTERACTION_STATE_PARAMETER

public static final java.lang.String INTERACTION_STATE_PARAMETER
The name of the URL parameter containing the interaction state.

See Also:
Constant Field Values

NAVIGATIONAL_STATE_PARAMETER

public static final java.lang.String NAVIGATIONAL_STATE_PARAMETER
The name of the URL parameter containing the navigational state.

See Also:
Constant Field Values

META_PARAMETER

public static final java.lang.String META_PARAMETER
The name of the URL parameter containing the meta information.

See Also:
Constant Field Values

ACTION_TYPE

public static final int ACTION_TYPE
.

See Also:
Constant Field Values

RENDER_TYPE

public static final int RENDER_TYPE
.

See Also:
Constant Field Values

NAV_TYPE

public static final int NAV_TYPE
.

See Also:
Constant Field Values

mode

private Mode mode
.


windowState

private WindowState windowState
.


navigationalstate

private StateString navigationalstate
.


interactionState

private StateString interactionState
.


form

private Parameters form
.


type

private int type
.

Constructor Detail

PortletRequestDecoder

public PortletRequestDecoder()
Method Detail

decode

public void decode(java.util.Map queryParams,
                   java.util.Map bodyParams)
            throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getMode

public Mode getMode()

getWindowState

public WindowState getWindowState()

getNavigationalstate

public StateString getNavigationalstate()

getInteractionState

public StateString getInteractionState()

getForm

public Parameters getForm()

getType

public int getType()