public abstract class RequestHandlerBase extends Object implements RequestHandler
| Constructor and Description |
|---|
RequestHandlerBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copy(InputStream input,
OutputStream output) |
protected String |
getResourceAsString(String name) |
protected InputStream |
loadResource(String name) |
protected void |
writeResponse(RequestEvent event,
String body) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadminOnly, handles, processprotected void writeResponse(RequestEvent event, String body) throws IOException
IOExceptionprotected String getResourceAsString(String name) throws IOException
IOExceptionprotected InputStream loadResource(String name)
protected void copy(InputStream input, OutputStream output) throws IOException
IOExceptionCopyright © 2021. All rights reserved.