📄 metahandler.java
字号:
package rabbit.meta;import java.io.IOException;import java.nio.channels.SocketChannel;import rabbit.http.HttpHeader;import rabbit.proxy.Connection;import rabbit.util.SProperties;import rabbit.util.TrafficLogger;/** The specification for dynamic status information handlers in the proxy. * * @author <a href="mailto:robo@khelekore.org">Robert Olofsson</a> */public interface MetaHandler { /** Handle a client request. * * @param request the http request header. * @param htab the supplied argument to the page (CGI-parameters). * @param con the Connection that is serving the request. * @param tlProxy the TrafficLogger to log proxy traffic on. * @param tlClient the TrafficLogger to log client traffic on. */ void handle (HttpHeader request, SProperties htab, Connection con, TrafficLogger tlProxy, TrafficLogger tlClient) throws IOException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -