org.plovr.soy.server
Class SoyRequestHandler

java.lang.Object
  extended by 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)

Constructor Summary
SoyRequestHandler(Config config)
           
 
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
 

Constructor Detail

SoyRequestHandler

public SoyRequestHandler(Config config)
Method Detail

handle

public void handle(com.sun.net.httpserver.HttpExchange exchange)
            throws IOException
Specified by:
handle in interface com.sun.net.httpserver.HttpHandler
Throws:
IOException