Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`URLResponse(String url)`
`URLResponse(String url, Map<String,Object> data)`
`URLResponse(URL url)`
`URLResponse(URL url, Map<String,Object> data)`

Method Summary
`RestResponseMetaData` | `execute(OutputStream outputStream, Map<String,Object> inputParameters)`
`Map<String,Object>` | `getData()`
`URL` | `getUrl()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### 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`

Method Detail

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright � 2008-2010 The Apache Software Foundation. All Rights Reserved.