org.apache.cocoon.servletservice
Class ServletConnection
java.lang.Object
org.apache.cocoon.servletservice.ServletConnection
- public final class ServletConnection
- extends Object
Implementation of a URLConnection that gets its content by
invoking the Block.
TODO Plenty of work left to have a meaningfull implementation of all methods
- Version:
- $Id: BlockConnection.java 496060 2007-01-14 11:03:06Z danielf $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletConnection
public ServletConnection(String url)
throws MalformedURLException
- Construct a new object
connect
public void connect()
throws IOException
- Throws:
IOException
getInputStream
public InputStream getInputStream()
throws IOException,
ServletException
- Return an
InputStream object to read from the source.
- Throws:
Exception
IOException
ServletException
Copyright © 1999-2007 The Apache Software Foundation. All Rights Reserved.