@Path(value="state") public class HTTPSPStateManager extends Object implements SPStateManager
Constructor and Description |
---|
HTTPSPStateManager() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ResponseState |
getResponseState(String contextKey) |
RequestState |
removeRequestState(String relayState) |
ResponseState |
removeResponseState(String contextKey) |
void |
setRequestState(String relayState,
RequestState state) |
void |
setResponseState(String contextKey,
ResponseState state) |
void |
setStateProvider(SPStateManager stateManager) |
public void setStateProvider(SPStateManager stateManager)
@POST @Path(value="/request/{relayState}") @Consumes(value="application/xml") public void setRequestState(@Encoded @PathParam(value="relayState") String relayState, RequestState state)
setRequestState
in interface SPStateManager
@DELETE @Path(value="/request/{relayState}") @Produces(value="application/xml") public RequestState removeRequestState(@Encoded @PathParam(value="relayState") String relayState)
removeRequestState
in interface SPStateManager
@POST @Path(value="/response/{contextKey}") @Consumes(value="application/xml") public void setResponseState(@Encoded @PathParam(value="contextKey") String contextKey, ResponseState state)
setResponseState
in interface SPStateManager
@GET @Path(value="/response/{contextKey}") @Produces(value="application/xml") public ResponseState getResponseState(@Encoded @PathParam(value="contextKey") String contextKey)
getResponseState
in interface SPStateManager
@DELETE @Path(value="/response/{contextKey}") @Produces(value="application/xml") public ResponseState removeResponseState(String contextKey)
removeResponseState
in interface SPStateManager
@POST @Path(value="close") public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface SPStateManager
IOException
Apache CXF