Class SimpleServer.ServerErrorExchange
- java.lang.Object
-
- org.opennms.netmgt.provision.server.SimpleServer.ServerErrorExchange
-
- All Implemented Interfaces:
Exchange
- Enclosing class:
- SimpleServer
public static class SimpleServer.ServerErrorExchange extends Object implements Exchange
-
-
Field Summary
Fields Modifier and Type Field Description protected RequestHandler
m_errorRequest
-
Constructor Summary
Constructors Constructor Description ServerErrorExchange(RequestHandler requestHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matchResponseByString(String response)
matchResponseByStringboolean
processResponse(BufferedReader in)
processResponseboolean
sendRequest(OutputStream out)
sendRequest
-
-
-
Field Detail
-
m_errorRequest
protected RequestHandler m_errorRequest
-
-
Constructor Detail
-
ServerErrorExchange
public ServerErrorExchange(RequestHandler requestHandler)
-
-
Method Detail
-
matchResponseByString
public boolean matchResponseByString(String response)
Description copied from interface:Exchange
matchResponseByString
- Specified by:
matchResponseByString
in interfaceExchange
- Parameters:
response
- aString
object.- Returns:
- a boolean.
-
processResponse
public boolean processResponse(BufferedReader in) throws IOException
Description copied from interface:Exchange
processResponse
- Specified by:
processResponse
in interfaceExchange
- Parameters:
in
- aBufferedReader
object.- Returns:
- a boolean.
- Throws:
IOException
- if any.
-
sendRequest
public boolean sendRequest(OutputStream out) throws IOException
Description copied from interface:Exchange
sendRequest
- Specified by:
sendRequest
in interfaceExchange
- Parameters:
out
- aOutputStream
object.- Returns:
- a boolean.
- Throws:
IOException
- if any.
-
-