Class AbstractSimpleServer.SimpleServerExchange
- java.lang.Object
-
- org.opennms.netmgt.provision.server.AbstractSimpleServer.SimpleServerExchange
-
- All Implemented Interfaces:
AbstractSimpleServer.Exchange
- Enclosing class:
- AbstractSimpleServer
public static class AbstractSimpleServer.SimpleServerExchange extends Object implements AbstractSimpleServer.Exchange
-
-
Constructor Summary
Constructors Constructor Description SimpleServerExchange(AbstractSimpleServer.RequestMatcher requestMatcher, String response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
processRequest(BufferedReader in)
boolean
sendReply(OutputStream out)
-
-
-
Constructor Detail
-
SimpleServerExchange
public SimpleServerExchange(AbstractSimpleServer.RequestMatcher requestMatcher, String response)
-
-
Method Detail
-
processRequest
public boolean processRequest(BufferedReader in) throws IOException
- Specified by:
processRequest
in interfaceAbstractSimpleServer.Exchange
- Throws:
IOException
-
sendReply
public boolean sendReply(OutputStream out) throws IOException
- Specified by:
sendReply
in interfaceAbstractSimpleServer.Exchange
- Throws:
IOException
-
-