1 8 9 package mx4j.tools.adaptor.http; 10 11 import java.io.IOException ; 12 13 import org.w3c.dom.Document ; 14 15 20 public interface ProcessorMBean 21 { 22 public String getName(); 23 24 39 public void writeResponse(HttpOutputStream out, HttpInputStream in, Document document) throws IOException ; 40 41 56 public void writeError(HttpOutputStream out, HttpInputStream in, Exception e) throws IOException ; 57 58 66 public String preProcess(String path); 67 68 77 public String notFoundElement(String path, HttpOutputStream out, HttpInputStream in) throws IOException , HttpException; 78 } 79 | Popular Tags |