Portlet API (V0.7.1) : Class PortletSessionUtil

Package | Class | Tree | Deprecated | Index | Help
| Portlet API (V0.7.1)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.portlet
Class PortletSessionUtil

    java.lang.Object
      |
      +--javax.portlet.PortletSessionUtil

public class PortletSessionUtil
extends java.lang.Object

The `PortletSessionUtil` class helps with the decoding of portlet session attributes from the `HttpSession` that the `PortletSession` uses.

Constructor Summary
`PortletSessionUtil()`

Method Summary
`static java.lang.String` | `decodeAttribute(java.lang.String name)` Returns the portlet attribute name from an encoded portlet attribute.
`static int` | `decodeScope(java.lang.String name)` Returns the portlet attribute scope from an encoded portlet attribute.

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

Constructor Detail

### PortletSessionUtil

    public PortletSessionUtil()

Method Detail

### decodeAttribute

    public static java.lang.String decodeAttribute(java.lang.String name)

  Returns the portlet attribute name from an encoded portlet attribute.
  Parameters:
    `name` - a string specifying the name of the encoded portlet attribute
  Returns:
    the decoded attribute name

### decodeScope

    public static int decodeScope(java.lang.String name)

  Returns the portlet attribute scope from an encoded portlet attribute.
  Parameters:
    `name` - a string specifying the name of the encoded portlet attribute
  Returns:
    the decoded attribute scope
  See Also:
    `PortletSession`

Package | Class | Tree | Deprecated | Index | Help
| Portlet API (V0.7.1)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD