public class CrossDomainRpcRenderer extends Object implements Renderer
CrossDomainRpc
.Constructor and Description |
---|
CrossDomainRpcRenderer(String responsePropertyName,
String errorPropertyName)
Creates a new renderer.
|
public CrossDomainRpcRenderer(String responsePropertyName, String errorPropertyName)
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.public void render(HttpRequest request, HttpResponse response, RestishHandler handler) throws Exception
Copyright © 2013. All rights reserved.