Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.portal.portlet.impl
Class PortletRequestEncoder

    java.lang.Object
      org.jboss.portal.portlet.impl.PortletRequestEncoder

    public class PortletRequestEncoder

extends java.lang.Object

This class is designed to provide the encoding in the query string of a URL of the following state :

- A set of parameters
- A mode value
- A window state value
- A invocation type (action or render)

Version:
  $Revision: 1.1 $
Author:
  Julien Viet

Constructor Summary
`PortletRequestEncoder()`
`PortletRequestEncoder(ParameterMap queryParameters)`

Method Summary
`void` | `encode(PortletURL portletURL)`
`void` | `encodeAction(StateString navigationalState, StateString interactionState, Mode mode, WindowState windowState)`
`void` | `encodeRender(StateString navigationalState, Mode mode, WindowState windowState)`
`ParameterMap` | `getQueryParameters()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PortletRequestEncoder

    public PortletRequestEncoder(ParameterMap queryParameters)

### PortletRequestEncoder

    public PortletRequestEncoder()

Method Detail

### encode

    public void encode(PortletURL portletURL)
                throws java.lang.IllegalArgumentException

  Throws:
    `java.lang.IllegalArgumentException`

### encodeAction

    public void encodeAction(StateString navigationalState,
                             StateString interactionState,
                             Mode mode,
                             WindowState windowState)
                      throws java.lang.IllegalArgumentException

  Throws:
    `java.lang.IllegalArgumentException`

### encodeRender

    public void encodeRender(StateString navigationalState,
                             Mode mode,
                             WindowState windowState)

### getQueryParameters

    public ParameterMap getQueryParameters()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD