1 16 package org.mortbay.http; 17 import java.io.IOException ; 18 import java.io.Serializable ; 19 20 import org.mortbay.util.LifeCycle; 21 22 23 24 38 public interface HttpHandler extends LifeCycle, Serializable  39 { 40 41 44 public String getName(); 45 46 47 public HttpContext getHttpContext(); 48 49 50 public void initialize(HttpContext context); 51 52 53 66 public void handle(String pathInContext, 67 String pathParams, 68 HttpRequest request, 69 HttpResponse response) 70 throws HttpException, IOException ; 71 } 72 73 74 75 76 77 78 79 | Popular Tags |