public void run() {
resp.respond(req);
+ try {
+ req.output().close();
+ } catch(java.io.IOException e) {
+ throw(new RuntimeException(e));
+ }
+ }
+
+ public static ServerContext context() {
+ return(((RequestThread)Thread.currentThread()).req.ctx());
}
public static Request request() {