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 java.lang.Object implements AbstractSimpleServer.Exchange
-
-
Constructor Summary
Constructors Constructor Description SimpleServerExchange(AbstractSimpleServer.RequestMatcher requestMatcher, java.lang.String response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
processRequest(java.io.BufferedReader in)
boolean
sendReply(java.io.OutputStream out)
-
-
-
Constructor Detail
-
SimpleServerExchange
public SimpleServerExchange(AbstractSimpleServer.RequestMatcher requestMatcher, java.lang.String response)
-
-
Method Detail
-
processRequest
public boolean processRequest(java.io.BufferedReader in) throws java.io.IOException
- Specified by:
processRequest
in interfaceAbstractSimpleServer.Exchange
- Throws:
java.io.IOException
-
sendReply
public boolean sendReply(java.io.OutputStream out) throws java.io.IOException
- Specified by:
sendReply
in interfaceAbstractSimpleServer.Exchange
- Throws:
java.io.IOException
-
-