|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateAccessor
Provides read access to the state holder based on a given request. NOTE: This API may only be used in the scope of an HTTP request in WebSphere Portal, i.e. within a theme. The API can not be invoked directly by a custom servlet.
Method Summary | |
---|---|
javax.xml.transform.Source |
createSource(javax.servlet.http.HttpServletRequest req)
Returns the StateHolder of the request in xml format |
javax.xml.transform.Source |
createSource(StateHolder state)
Returns an XML representation of the StateHolder . |
StateHolder |
getStateHolder(javax.servlet.http.HttpServletRequest req)
Retrieves the read-only state holder from the request |
Methods inherited from interface com.ibm.portal.Disposable |
---|
dispose |
Method Detail |
---|
javax.xml.transform.Source createSource(javax.servlet.http.HttpServletRequest req) throws StateNotInRequestException
StateHolder
of the request in xml format
req
- servlet request (must not be null)
StateNotInRequestException
- - if no state could be associated with the requestjavax.xml.transform.Source createSource(StateHolder state)
StateHolder
.
state
- the state holder, not null
StateHolder getStateHolder(javax.servlet.http.HttpServletRequest req) throws StateNotInRequestException
req
- servlet request (must not be null)
StateNotInRequestException
- - if no state could be associated with the request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |