public static class AbstractSimpleServer.BannerExchange extends Object implements AbstractSimpleServer.Exchange
Constructor and Description |
---|
BannerExchange(String banner) |
Modifier and Type | Method and Description |
---|---|
boolean |
processRequest(BufferedReader in) |
boolean |
sendReply(OutputStream out) |
public BannerExchange(String banner)
public boolean processRequest(BufferedReader in) throws IOException
processRequest
in interface AbstractSimpleServer.Exchange
IOException
public boolean sendReply(OutputStream out) throws IOException
sendReply
in interface AbstractSimpleServer.Exchange
IOException
Copyright © 2021. All rights reserved.