|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectelectric.webserver.messages.tcp.TCPMessageFactory
TCPMessageFactory creates servlet request and response objects based on plain-old-sockets. This is the default factory, and is made available even if no factories are registered in glue-config.xml.
| Field Summary |
| Constructor Summary | |
TCPMessageFactory()
|
|
| 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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TCPMessageFactory()
| Method Detail |
public boolean matches(java.lang.String protocol)
matches in interface IMessageFactoryprotocol -
public InboundHTTPRequest createRequest(IChannel channel)
throws java.io.IOException
IMessageFactory
createRequest in interface IMessageFactorychannel -
java.io.IOException
public OutboundHTTPResponse createResponse(IChannel channel,
InboundHTTPRequest request)
throws java.io.IOException
IMessageFactoryThis is an internal GLUE api, and is subject to change without notice across minor revisions.
createResponse in interface IMessageFactorychannel - request -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||