scone.proxy
Class NewServerRequestEditor

java.lang.Object
  extended by HttpRequestEditor
      extended by scone.proxy.NewServerRequestEditor

public class NewServerRequestEditor
extends HttpRequestEditor

This meg is able to return documents to the browser.
It maps web - paths to filesystem - paths. Use addPath() to add a new mapping

Author:
Harald Weinreich, Volkert Buchmann

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
NewServerRequestEditor()
           
 
Method Summary
 int getNewPort()
           
 java.lang.String getNewServer()
           
 void handleRequest(RequestEvent requestevent)
           
 void setNewPort(int p)
           
 void setNewServer(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

NewServerRequestEditor

public NewServerRequestEditor()
Method Detail

getNewServer

public java.lang.String getNewServer()

getNewPort

public int getNewPort()

handleRequest

public void handleRequest(RequestEvent requestevent)
                   throws RequestRejectedException,
                          java.io.IOException
Throws:
RequestRejectedException
java.io.IOException

setNewServer

public void setNewServer(java.lang.String s)

setNewPort

public void setNewPort(int p)