|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.portlet.filter.PortletRequestWrapper javax.portlet.filter.EventRequestWrapper
public class EventRequestWrapper
The EventRequestWrapper
provides a convenient
implementation of the EventRequest
interface
that can be subclassed by developers wishing to adapt the request.
This class implements the Wrapper or Decorator pattern.
Methods default to calling through to the wrapped request object.
EventRequest
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface javax.portlet.PortletRequest |
---|
PortletRequest.P3PUserInfos |
Field Summary |
---|
Fields inherited from interface javax.portlet.PortletRequest |
---|
ACTION_PHASE, ACTION_SCOPE_ID, BASIC_AUTH, CCPP_PROFILE, CLIENT_CERT_AUTH, DIGEST_AUTH, EVENT_PHASE, FORM_AUTH, LIFECYCLE_PHASE, RENDER_HEADERS, RENDER_MARKUP, RENDER_PART, RENDER_PHASE, RESOURCE_PHASE, USER_INFO |
Constructor Summary | |
---|---|
EventRequestWrapper(EventRequest request)
Creates an EventRequest adaptor
wrapping the given request object. |
Method Summary | |
---|---|
Event |
getEvent()
The default behavior of this method is to call getEvent() on the wrapped request object. |
java.lang.String |
getMethod()
The default behavior of this method is to call getMethod() on the wrapped request object. |
EventRequest |
getRequest()
Return the wrapped request object. |
void |
setRequest(EventRequest request)
Sets the request object being wrapped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventRequestWrapper(EventRequest request)
EventRequest
adaptor
wrapping the given request object.
request
- the event request to wrap
java.lang.IllegalArgumentException
- if the request is null
Method Detail |
---|
public EventRequest getRequest()
getRequest
in class PortletRequestWrapper
public void setRequest(EventRequest request)
request
- the request to set
java.lang.IllegalArgumentException
- if the request is null.public Event getEvent()
getEvent()
on the wrapped request object.
getEvent
in interface EventRequest
public java.lang.String getMethod()
getMethod()
on the wrapped request object.
getMethod
in interface EventRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |