Package net.shibboleth.idp.ui.csrf
Class BaseCSRFTest.MockView
java.lang.Object
net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
- All Implemented Interfaces:
View
- Enclosing class:
- BaseCSRFTest
MockView, for use when you do not actually need a rendered response.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RequestContextprivate StringThe id of the view that would have been rendered.Fields inherited from interface org.springframework.webflow.execution.View
RENDER_FRAGMENTS_ATTRIBUTE, USER_EVENT_STATE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
viewId
The id of the view that would have been rendered. -
context
-
-
Constructor Details
-
MockView
-
-
Method Details
-
getViewId
Returns the id of the view that would have been rendered.- Returns:
- the view id
-
render
- Specified by:
renderin interfaceView- Throws:
IOException
-
userEventQueued
public boolean userEventQueued()- Specified by:
userEventQueuedin interfaceView
-
processUserEvent
public void processUserEvent()- Specified by:
processUserEventin interfaceView
-
getUserEventState
- Specified by:
getUserEventStatein interfaceView
-
hasFlowEvent
public boolean hasFlowEvent()- Specified by:
hasFlowEventin interfaceView
-
getFlowEvent
- Specified by:
getFlowEventin interfaceView
-
saveState
public void saveState() -
toString
-