| org.apache.cocoon.generation.AbstractGenerator org.apache.cocoon.generation.ServiceableGenerator org.apache.cocoon.generation.GenericProxyGenerator
GenericProxyGenerator | public class GenericProxyGenerator extends ServiceableGenerator (Code) | | This is a generic HTTP proxy, designed to handle any possible HTTP method,
but with a particular bias towards WebDAV. As of now it's pretty unstable, but
still it might be a good proof of concept towards a pure HTTP(++) proxy.
TODO: doesn't handle authentication properly
TODO: doesn't handle (and doubt it'll ever will) HTTP/1.1 keep-alive
author: Gianugo Rabellino version: $Id: GenericProxyGenerator.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public void | dispose() | public void | generate() Get the request data, pass them on to the forwarder and return the result. | public void | service(ServiceManager manager) Compose and get a SAX parser for further use. | public void | setup(SourceResolver resolver, Map objectModel, String src, Parameters par) Setup this component by getting the (required) "url" parameter and the
(optional) "path" parameter. |
destination | HttpURL destination(Code) | | The real URL to forward requests to
|
dispose | public void dispose()(Code) | | Dispose
|
service | public void service(ServiceManager manager) throws ServiceException(Code) | | Compose and get a SAX parser for further use.
See Also: org.apache.avalon.framework.service.Serviceable.service(org.apache.avalon.framework.service.ServiceManager) |
Fields inherited from org.apache.cocoon.generation.ServiceableGenerator | protected ServiceManager manager(Code)(Java Doc)
|
Methods inherited from org.apache.cocoon.generation.ServiceableGenerator | public void dispose()(Code)(Java Doc) public void service(ServiceManager manager) throws ServiceException(Code)(Java Doc)
|
|
|