|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChannelRequest
The interface used to wrap the request object. So it can make the channel processing logic protocol independent.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Get the attribute value from the request |
java.lang.String |
getCharacterEncoding()
|
java.lang.Object |
getRequest()
The channel request is a wrapper, so you can use this to get the underlying request object |
java.lang.String |
getSessionId(ChannelContext channelContext)
Get the session id |
java.lang.String |
getUserType(ChannelContext channelContext)
Get the user type of the channel, this is used to determine the client type. |
void |
parseRequestData(ChannelContext channelContext)
Parse the request data of the request object |
void |
parseRequestHeader(ChannelContext channelContext)
Parse the request header of the request object |
void |
preProcessRequest(ChannelContext channelContext)
Pre-processing the request object, this can be used to check the session is established or not |
boolean |
runInSession(ChannelContext channelContext)
|
void |
setAttribute(java.lang.String attribute,
java.lang.Object value)
Set the attribute value of the request |
void |
setCharacterEncoding(java.lang.String encoding)
Set the character encoding of the request and the response |
Field Detail |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
java.lang.String getUserType(ChannelContext channelContext)
channelContext
- the channel context object
java.lang.String getCharacterEncoding()
void setCharacterEncoding(java.lang.String encoding) throws java.io.UnsupportedEncodingException
encoding
- the character encoding
java.io.UnsupportedEncodingException
- if the encoding isn't supportedvoid parseRequestData(ChannelContext channelContext) throws java.lang.Exception
channelContext
- the channel context object
java.lang.Exception
- if error occur during parsingvoid parseRequestHeader(ChannelContext channelContext) throws java.lang.Exception
channelContext
- the channel context object
java.lang.Exception
- if error occur during parsingvoid preProcessRequest(ChannelContext channelContext) throws DSECSSessionNotEstablishedException
channelContext
- the channel context object
DSECSSessionNotEstablishedException
- if the session isn't establishedjava.lang.String getSessionId(ChannelContext channelContext)
channelContext
- the channel context object
boolean runInSession(ChannelContext channelContext)
channelContext
- the channel context object
void setAttribute(java.lang.String attribute, java.lang.Object value)
attribute
- the attribute namevalue
- the attribute valuejava.lang.Object getRequest()
java.lang.Object getAttribute(java.lang.String name)
name
- the attribute name
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |