org.seasar.portlet.util
Class PortletRequestUtil

java.lang.Object
  extended by org.seasar.portlet.util.PortletRequestUtil
Direct Known Subclasses:
ActionRequestUtil, RenderRequestUtil

public class PortletRequestUtil
extends java.lang.Object

This class is a utility class to use PortletRequest on Seasar2 environment.

Author:
Shinsuke Sugaya

Constructor Summary
PortletRequestUtil()
           
 
Method Summary
static java.lang.Object getAttribute(java.lang.String arg0)
           
static java.util.Enumeration getAttributeNames()
           
static java.lang.String getAuthType()
           
static java.lang.String getContextPath()
           
static java.util.Locale getLocale()
           
static java.util.Enumeration getLocales()
           
static java.lang.String getParameter(java.lang.String arg0)
           
static java.util.Map getParameterMap()
           
static java.util.Enumeration getParameterNames()
           
static java.lang.String[] getParameterValues(java.lang.String arg0)
           
static javax.portlet.PortalContext getPortalContext()
           
static javax.portlet.PortletMode getPortletMode()
           
static javax.portlet.PortletRequest getPortletRequest()
           
static javax.portlet.PortletSession getPortletSession()
           
static javax.portlet.PortletSession getPortletSession(boolean arg0)
           
static javax.portlet.PortletPreferences getPreferences()
           
static java.util.Enumeration getProperties(java.lang.String arg0)
           
static java.lang.String getProperty(java.lang.String arg0)
           
static java.util.Enumeration getPropertyNames()
           
static java.lang.String getRemoteUser()
           
static java.lang.String getRequestedSessionId()
           
static java.lang.String getResponseContentType()
           
static java.util.Enumeration getResponseContentTypes()
           
static java.lang.String getScheme()
           
static java.lang.String getServerName()
           
static int getServerPort()
           
static java.security.Principal getUserPrincipal()
           
static javax.portlet.WindowState getWindowState()
           
static boolean isPortletModeAllowed(javax.portlet.PortletMode arg0)
           
static boolean isRequestedSessionIdValid()
           
static boolean isSecure()
           
static boolean isUserInRole(java.lang.String arg0)
           
static boolean isWindowStateAllowed(javax.portlet.WindowState arg0)
           
static void removeAttribute(java.lang.String arg0)
           
static void setAttribute(java.lang.String arg0, java.lang.Object arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletRequestUtil

public PortletRequestUtil()
Method Detail

getPortletRequest

public static javax.portlet.PortletRequest getPortletRequest()

getAttribute

public static java.lang.Object getAttribute(java.lang.String arg0)

getAttributeNames

public static java.util.Enumeration getAttributeNames()

getAuthType

public static java.lang.String getAuthType()

getContextPath

public static java.lang.String getContextPath()

getLocale

public static java.util.Locale getLocale()

getLocales

public static java.util.Enumeration getLocales()

getParameter

public static java.lang.String getParameter(java.lang.String arg0)

getParameterMap

public static java.util.Map getParameterMap()

getParameterNames

public static java.util.Enumeration getParameterNames()

getParameterValues

public static java.lang.String[] getParameterValues(java.lang.String arg0)

getPortalContext

public static javax.portlet.PortalContext getPortalContext()

getPortletMode

public static javax.portlet.PortletMode getPortletMode()

getPortletSession

public static javax.portlet.PortletSession getPortletSession()

getPortletSession

public static javax.portlet.PortletSession getPortletSession(boolean arg0)

getPreferences

public static javax.portlet.PortletPreferences getPreferences()

getProperties

public static java.util.Enumeration getProperties(java.lang.String arg0)

getProperty

public static java.lang.String getProperty(java.lang.String arg0)

getPropertyNames

public static java.util.Enumeration getPropertyNames()

getRemoteUser

public static java.lang.String getRemoteUser()

getRequestedSessionId

public static java.lang.String getRequestedSessionId()

getResponseContentType

public static java.lang.String getResponseContentType()

getResponseContentTypes

public static java.util.Enumeration getResponseContentTypes()

getScheme

public static java.lang.String getScheme()

getServerName

public static java.lang.String getServerName()

getServerPort

public static int getServerPort()

getUserPrincipal

public static java.security.Principal getUserPrincipal()

getWindowState

public static javax.portlet.WindowState getWindowState()

isPortletModeAllowed

public static boolean isPortletModeAllowed(javax.portlet.PortletMode arg0)

isRequestedSessionIdValid

public static boolean isRequestedSessionIdValid()

isSecure

public static boolean isSecure()

isUserInRole

public static boolean isUserInRole(java.lang.String arg0)

isWindowStateAllowed

public static boolean isWindowStateAllowed(javax.portlet.WindowState arg0)

removeAttribute

public static void removeAttribute(java.lang.String arg0)

setAttribute

public static void setAttribute(java.lang.String arg0,
                                java.lang.Object arg1)


Copyright 2006 null. All Rights Reserved.