public static class AbstractSimpleServer.SimpleServerExchange extends Object implements AbstractSimpleServer.Exchange
| Constructor and Description | 
|---|
SimpleServerExchange(AbstractSimpleServer.RequestMatcher requestMatcher,
                    String response)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
processRequest(BufferedReader in)  | 
boolean | 
sendReply(OutputStream out)  | 
public SimpleServerExchange(AbstractSimpleServer.RequestMatcher requestMatcher, String response)
public boolean processRequest(BufferedReader in) throws IOException
processRequest in interface AbstractSimpleServer.ExchangeIOExceptionpublic boolean sendReply(OutputStream out) throws IOException
sendReply in interface AbstractSimpleServer.ExchangeIOExceptionCopyright © 2021. All rights reserved.