org.openqa.grid.internal.utils
Class ForwardConfiguration
java.lang.Object
org.openqa.grid.internal.utils.ForwardConfiguration
public class ForwardConfiguration
- extends Object
some requests have to be more than just forwarded.
For instance for selenium1, the new session request contains
the sessionId in the body of the response, so the response has
to be read.
ForwardConfig gather all those special cases.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForwardConfiguration
public ForwardConfiguration()
getProtocol
public SeleniumProtocol getProtocol()
setProtocol
public void setProtocol(SeleniumProtocol protocol)
isBodyHasToBeRead
public boolean isBodyHasToBeRead()
setBodyHasToBeRead
public void setBodyHasToBeRead(boolean bodyHasToBeRead)
- true = the body of the request will be read before being forwarded.
- Parameters:
bodyHasToBeRead
-
isNewSessionRequest
public boolean isNewSessionRequest()
setNewSessionRequest
public void setNewSessionRequest(boolean isNewSessionRequest)
getContentOverWrite
public String getContentOverWrite()
setContentOverWrite
public void setContentOverWrite(String contentOverWrite)
- if !=null : the body of the request will be replaced by contentOverWrite.
- Parameters:
contentOverWrite
-
Copyright © 2012. All Rights Reserved.