public abstract class AbstractHandler extends Object implements com.sun.net.httpserver.HttpHandler
| Modifier and Type | Field and Description |
|---|---|
protected AbstractPipeline |
pipeline |
protected static String |
sentenceDataVarName |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHandler(AbstractPipeline pipeline) |
| Modifier and Type | Method and Description |
|---|---|
protected static Map<String,String> |
contentToVariableMap(String content) |
protected String |
getContent(com.sun.net.httpserver.HttpExchange exchange) |
protected void |
sendContent(com.sun.net.httpserver.HttpExchange exchange,
String content,
String content_type,
int responseCode) |
protected static final String sentenceDataVarName
protected final AbstractPipeline pipeline
protected AbstractHandler(AbstractPipeline pipeline)
protected String getContent(com.sun.net.httpserver.HttpExchange exchange) throws IOException
IOExceptionprotected static Map<String,String> contentToVariableMap(String content) throws IOException
IOExceptionprotected void sendContent(com.sun.net.httpserver.HttpExchange exchange,
String content,
String content_type,
int responseCode)
throws IOException
IOExceptionCopyright © 2016. All rights reserved.