|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IChannelRequestParameterManager
Manages request parameters for channels for the duration of a HttpServletRequest.
| Method Summary | |
|---|---|
Map<String,Object[]> |
getChannelParameters(HttpServletRequest request,
String channelId)
Gets the parameter Map for the specified channel Id for the request. |
Set<String> |
getTargetedChannelIds(HttpServletRequest request)
Get all channelIds that have had parameters associated with them for this request. |
void |
setChannelParameters(HttpServletRequest request,
String channelId,
Map<String,Object[]> parameters)
Associates the parameter Map with the specified channel ID for the request. |
void |
setNoChannelParameters(HttpServletRequest request)
Mark this request as not having any channel request parameters associated with it. |
| Method Detail |
|---|
void setNoChannelParameters(HttpServletRequest request)
request - The current request.
IllegalArgumentException - If request is null
IllegalStateException - if setChannelParameters(HttpServletRequest, String, Map) has already been called
void setChannelParameters(HttpServletRequest request,
String channelId,
Map<String,Object[]> parameters)
request - The current request.channelId - The ID of the channel to store parameters for.parameters - The parameter map for the channel.
IllegalArgumentException - If request, channelId, or parameters are null
IllegalStateException - if setNoChannelParameters(HttpServletRequest) has already been calledSet<String> getTargetedChannelIds(HttpServletRequest request)
request - The current request.
IllegalArgumentException - If request is null
RequestParameterProcessingIncompleteException - If this request doesn't have the necessary information associated with it yet to return the id set
Map<String,Object[]> getChannelParameters(HttpServletRequest request,
String channelId)
request - The current request.channelId - The ID of the channel to get parameters for.
IllegalArgumentException - If request, or channelId
RequestParameterProcessingIncompleteException - If this request doesn't have the necessary information associated with it yet to return a parameter map.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||