prupp
Class MetaPageHandler
java.lang.Object
|
+--prupp.Responder
|
+--prupp.MetaPageHandler
- public class MetaPageHandler
- extends Responder
The proxys MetaPageHandler.
To add MetaPage:s to the proxy just add the needed classes.
Reflection is used to look up meta-pages.
Constructor Summary |
MetaPageHandler(java.net.Socket socket,
java.lang.String reqLine,
java.io.DataInputStream input,
java.io.DataOutputStream output,
java.net.URL url,
HTTPHeader header)
basic constructor |
Method Summary |
protected java.util.Properties |
splitArgs(java.lang.String params)
splits the CGI-paramsstring into variables and values. |
Methods inherited from class prupp.Responder |
error,
forbidden,
getAuthuser,
getExtraInfo,
getRequestLine,
getStatusCode,
internalError,
requestAuthentication,
send,
setAuthuser,
setExtraInfo,
setRequestLine,
setStatusCode |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MetaPageHandler
public MetaPageHandler(java.net.Socket socket,
java.lang.String reqLine,
java.io.DataInputStream input,
java.io.DataOutputStream output,
java.net.URL url,
HTTPHeader header)
- basic constructor
- Parameters:
socket
- The Socket to the client.reqLine
- The request being handled.input
- The inputstream from the client.output
- The outputstream to the client.url
- the URL of the request.header
- the full HTTP header for the request.
splitArgs
protected java.util.Properties splitArgs(java.lang.String params)
- splits the CGI-paramsstring into variables and values.
put these values into a hashtable for easy retrival
- Parameters:
params
- the CGI-querystring.- Returns:
- a hastable with type->value maps for the CGI-querystring