org.apache.wicket.portlet
Class ThreadPortletContext

java.lang.Object
  extended by org.apache.wicket.portlet.ThreadPortletContext

public class ThreadPortletContext
extends Object

This class serves as a shortcut to all Portlet related attributes

Author:
Peter Pastrnak

Constructor Summary
ThreadPortletContext()
           
 
Method Summary
static HttpServletRequest getHttpServletRequest()
           
static HttpServletResponse getHttpServletResponse()
           
static String getNamespace()
           
static javax.portlet.PortletConfig getPortletConfig()
           
static javax.portlet.PortletMode getPortletMode()
           
static javax.portlet.PortletPreferences getPortletPreferences()
           
static javax.portlet.PortletRequest getPortletRequest()
           
static javax.portlet.PortletResponse getPortletResponse()
           
static ServletContext getServletContext()
           
static String getWindowID()
           
static boolean isAjax()
           
static boolean isEmbedded()
           
static boolean isResourceRequest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPortletContext

public ThreadPortletContext()
Method Detail

getServletContext

public static ServletContext getServletContext()

getHttpServletRequest

public static HttpServletRequest getHttpServletRequest()

getHttpServletResponse

public static HttpServletResponse getHttpServletResponse()

getPortletConfig

public static javax.portlet.PortletConfig getPortletConfig()

getPortletRequest

public static javax.portlet.PortletRequest getPortletRequest()

getPortletResponse

public static javax.portlet.PortletResponse getPortletResponse()

getPortletMode

public static javax.portlet.PortletMode getPortletMode()

getPortletPreferences

public static javax.portlet.PortletPreferences getPortletPreferences()

getNamespace

public static String getNamespace()

getWindowID

public static String getWindowID()

isAjax

public static boolean isAjax()

isResourceRequest

public static boolean isResourceRequest()

isEmbedded

public static boolean isEmbedded()


Copyright © 2015. All Rights Reserved.