1 17 18 19 package org.apache.catalina; 20 21 22 import java.io.IOException ; 23 import javax.servlet.ServletException ; 24 25 import org.apache.catalina.connector.Request; 26 import org.apache.catalina.connector.Response; 27 28 29 44 45 public interface Valve { 46 47 48 50 51 54 public String getInfo(); 55 56 57 60 public Valve getNext(); 61 62 63 68 public void setNext(Valve valve); 69 70 71 73 74 79 public void backgroundProcess(); 80 81 82 129 public void invoke(Request request, Response response) 130 throws IOException , ServletException ; 131 132 133 144 public void event(Request request, Response response, CometEvent event) 145 throws IOException , ServletException ; 146 147 148 } 149 | Popular Tags |