Methods Summary |
---|
public java.net.URL | getAbsoluteURL()
return( absolute_url );
|
public java.lang.String | getClientAddress()
return( client_address.getAddress().getHostAddress());
|
public java.net.InetSocketAddress | getClientAddress2()
return( client_address );
|
public TrackerWebContext | getContext()
return( context );
|
public java.lang.String | getHeader()
return( header );
|
public java.util.Map | getHeaders()
Map headers = new HashMap();
String[] header_parts = header.split("\r\n");
headers.put("status", header_parts[0].trim());
for (int i = 1;i<header_parts.length;i++) {
String[] key_value = header_parts[i].split(":",2);
headers.put(key_value[0].trim().toLowerCase(), key_value[1].trim());
}
return headers;
|
public java.io.InputStream | getInputStream()
return( is );
|
public Tracker | getTracker()
return( tracker );
|
public java.lang.String | getURL()
return( url );
|
public java.lang.String | getUser()
return( user );
|