public MultiMap<String, String> outheaders();
/* Misc. */
- public Map<Object, Object> props();
public ServerContext ctx();
public SocketAddress remoteaddr();
public SocketAddress localaddr();
public void status(int code) {bk.status(code);}
public void status(int code, String message) {bk.status(code, message);}
public MultiMap<String, String> outheaders() {return(bk.outheaders());}
- public Map<Object, Object> props() {return(bk.props());}
public ServerContext ctx() {return(bk.ctx());}
public SocketAddress remoteaddr() {return(bk.remoteaddr());}
public SocketAddress localaddr() {return(bk.localaddr());}
private String method, path;
private URL url, context;
private MultiMap<String, String> params = null;
- private Map<Object, Object> props = new HashMap<Object, Object>();
public J2eeRequest(ServletConfig cfg, HttpServletRequest req, HttpServletResponse resp) {
this.cfg = cfg;
path = path.substring(1);
}
- public Map<Object, Object> props() {
- return(props);
- }
-
public SocketAddress remoteaddr() {
try {
/* Apparently getRemotePort returns -1 when running on Tomcat over AJP. */