org.openqa.selenium.remote.server
Class WebbitHttpResponse
java.lang.Object
org.openqa.selenium.remote.server.WebbitHttpResponse
- All Implemented Interfaces:
- HttpResponse
public class WebbitHttpResponse
- extends java.lang.Object
- implements HttpResponse
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebbitHttpResponse
public WebbitHttpResponse(org.webbitserver.HttpResponse response)
setStatus
public void setStatus(int status)
- Specified by:
setStatus in interface HttpResponse
setContentType
public void setContentType(java.lang.String mimeType)
- Specified by:
setContentType in interface HttpResponse
setContent
public void setContent(byte[] data)
- Specified by:
setContent in interface HttpResponse
setContent
public void setContent(java.lang.String message)
- Specified by:
setContent in interface HttpResponse
setEncoding
public void setEncoding(java.nio.charset.Charset charset)
- Specified by:
setEncoding in interface HttpResponse
sendRedirect
public void sendRedirect(java.lang.String to)
- Specified by:
sendRedirect in interface HttpResponse
end
public void end()
- Specified by:
end in interface HttpResponse
Copyright © 2012. All Rights Reserved.