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