org.apache.cocoon.rest.controller.response
Class URLResponse
java.lang.Object
org.apache.cocoon.rest.controller.response.URLResponse
- All Implemented Interfaces:
- RestResponse
public class URLResponse
- extends Object
- implements RestResponse
A URL
as controller response.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLResponse
public URLResponse(URL url)
URLResponse
public URLResponse(String url)
throws MalformedURLException
- Throws:
MalformedURLException
URLResponse
public URLResponse(URL url,
Map<String,Object> data)
URLResponse
public URLResponse(String url,
Map<String,Object> data)
throws MalformedURLException
- Throws:
MalformedURLException
getData
public Map<String,Object> getData()
getUrl
public URL getUrl()
execute
public RestResponseMetaData execute(OutputStream outputStream,
Map<String,Object> inputParameters)
throws Exception
- Specified by:
execute
in interface RestResponse
- Throws:
Exception
Copyright � 2008-2010 The Apache Software Foundation. All Rights Reserved.