org.plovr.soy.server
Class SoyRequestHandler
java.lang.Object
org.plovr.soy.server.SoyRequestHandler
- All Implemented Interfaces:
- com.sun.net.httpserver.HttpHandler
public class SoyRequestHandler
- extends Object
- implements com.sun.net.httpserver.HttpHandler
SoyRequestHandler
handles a request for a Soy file and prints the
contents of its base template, if available.
- Author:
- bolinfest@gmail.com (Michael Bolin)
Method Summary |
void |
handle(com.sun.net.httpserver.HttpExchange exchange)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoyRequestHandler
public SoyRequestHandler(Config config)
handle
public void handle(com.sun.net.httpserver.HttpExchange exchange)
throws IOException
- Specified by:
handle
in interface com.sun.net.httpserver.HttpHandler
- Throws:
IOException