org.openqa.selenium.remote.server.xdrpc
Class CrossDomainRpcRenderer
java.lang.Object
org.openqa.selenium.remote.server.xdrpc.CrossDomainRpcRenderer
- All Implemented Interfaces:
- Renderer
public class CrossDomainRpcRenderer
- extends Object
- implements Renderer
Renders a HTTP response for a CrossDomainRpc
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrossDomainRpcRenderer
public CrossDomainRpcRenderer(String responsePropertyName,
String errorPropertyName)
- Creates a new renderer.
- Parameters:
responsePropertyName
- The name of the property on a request object
that contains the response to send to the client.errorPropertyName
- The name of the property on a request object
that contains the error from a failed command.
render
public void render(HttpRequest request,
HttpResponse response,
RestishHandler handler)
throws Exception
- Specified by:
render
in interface Renderer
- Throws:
Exception
Copyright © 2012. All Rights Reserved.