Package org.togglz.console
Class RequestHandlerBase
java.lang.Object
org.togglz.console.RequestHandlerBase
- All Implemented Interfaces:
RequestHandler
- Direct Known Subclasses:
EditPageHandler,IndexPageHandler,ResourceHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcopy(InputStream input, OutputStream output) protected StringgetResourceAsString(String name) protected InputStreamloadResource(String name) protected voidwriteResponse(RequestEvent event, String body) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.togglz.console.RequestHandler
adminOnly, handles, process
-
Constructor Details
-
RequestHandlerBase
public RequestHandlerBase()
-
-
Method Details
-
writeResponse
- Throws:
IOException
-
getResourceAsString
- Throws:
IOException
-
loadResource
-
copy
- Throws:
IOException
-