| org.apache.cocoon.reading.ServiceableReader org.apache.cocoon.portal.reading.ProxyReader
ProxyReader | public class ProxyReader extends ServiceableReader (Code) | | This reader is used to retrieve non XML content from external applications
routet via the portal site. Requests from external resources are marked with
a proxy prefix and have coplet id and portal name attached as request
parameters. The portal name and coplet id are used to look up necessary
connection data for the external request (like session id, cookies,
document base, etc.) from the application coplet instance data.
author: Gernot Koller author: Friedrich Klenner version: CVS $Id: ProxyReader.java 433543 2006-08-22 06:22:54Z crossley $ |
request | protected Request request(Code) | | The origninal HTTP request
|
connect | protected HttpURLConnection connect(Request request, String uri) throws IOException(Code) | | Establish the HttpURLConnection to the given uri.
Parameters: request - the original request Parameters: uri - the remote uri the established HttpURLConnection throws: IOException - on any exception |
recycle | public void recycle()(Code) | | See Also: org.apache.avalon.excalibur.pool.Recyclable.recycle |
sendData | protected void sendData(InputStream in) throws IOException(Code) | | Copy the data to the original response stream
Parameters: in - the response from external request to read from throws: IOException - on any exception |
Fields inherited from org.apache.cocoon.reading.ServiceableReader | protected ServiceManager manager(Code)(Java Doc)
|
Methods inherited from org.apache.cocoon.reading.ServiceableReader | public void service(ServiceManager manager) throws ServiceException(Code)(Java Doc)
|
|
|