Added a configuration manager with support for LET-like constructs.
[jsvc.git] / src / dolda / jsvc / Request.java
index 4dc9cf6..8de008a 100644 (file)
@@ -2,6 +2,7 @@ package dolda.jsvc;
 
 import java.io.*;
 import java.net.URL;
+import java.net.SocketAddress;
 import java.util.Map;
 
 public interface Request {
@@ -20,6 +21,8 @@ public interface Request {
     public MultiMap<String, String> outheaders();
     
     /* Misc. */
-    public Map<?, ?> props();
+    public Map<Object, Object> props();
     public ServerContext ctx();
+    public SocketAddress remoteaddr();
+    public SocketAddress localaddr();
 }