|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
IMessageFactory creates servlet request and response objects from IChannels. The messages may be customized based on the protocol of the underlying channel. For example. requests based on SSL expose certain SSL parameters as request attributes. Also, non-HTTP protocols that map closely to HTTP may be wrapped. Implementations are registered in glue-config.xml using <MessageFactory> elements. This is an internal webmethods interface and may change without notice even across minor versions.
One factory of each class is created and reused for all matching servers, so a factory should not hold server-specific state.
Method Summary | |
InboundHTTPRequest |
createRequest(IChannel channel)
Create a new servlet request based on the channel. |
OutboundHTTPResponse |
createResponse(IChannel channel,
InboundHTTPRequest request)
Create a servlet response based on the given channel and request. |
boolean |
matches(java.lang.String protocol)
|
Method Detail |
public boolean matches(java.lang.String protocol)
protocol
-
public InboundHTTPRequest createRequest(IChannel channel) throws java.io.IOException
channel
-
java.io.IOException
public OutboundHTTPResponse createResponse(IChannel channel, InboundHTTPRequest request) throws java.io.IOException
This is an internal GLUE api, and is subject to change without notice across minor revisions.
channel
- request
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |