org.openqa.selenium.remote.server
Class WebbitHttpRequest

java.lang.Object
  extended by org.openqa.selenium.remote.server.WebbitHttpRequest
All Implemented Interfaces:
HttpRequest

public class WebbitHttpRequest
extends Object
implements HttpRequest


Constructor Summary
WebbitHttpRequest(String basePath, org.webbitserver.HttpRequest request)
           
 
Method Summary
 void forward(HttpResponse response, String to)
           
 String getAppUri()
           
 Object getAttribute(String attributeName)
           
 String getHeader(String header)
           
 String getMethod()
           
 String getPath()
           
 Reader getReader()
           
 String getUri()
           
 void setAttribute(String attributeName, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebbitHttpRequest

public WebbitHttpRequest(String basePath,
                         org.webbitserver.HttpRequest request)
Method Detail

getAppUri

public String getAppUri()
Specified by:
getAppUri in interface HttpRequest

getUri

public String getUri()
Specified by:
getUri in interface HttpRequest

getPath

public String getPath()
Specified by:
getPath in interface HttpRequest

getMethod

public String getMethod()
Specified by:
getMethod in interface HttpRequest

getHeader

public String getHeader(String header)
Specified by:
getHeader in interface HttpRequest

getAttribute

public Object getAttribute(String attributeName)
Specified by:
getAttribute in interface HttpRequest

setAttribute

public void setAttribute(String attributeName,
                         Object value)
Specified by:
setAttribute in interface HttpRequest

getReader

public Reader getReader()
Specified by:
getReader in interface HttpRequest

forward

public void forward(HttpResponse response,
                    String to)
Specified by:
forward in interface HttpRequest


Copyright © 2013. All Rights Reserved.