org.apache.cocoon.servletservice
Class ServletConnection

java.lang.Object
  extended byorg.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 $

Constructor Summary
ServletConnection(String url)
          Construct a new object
 
Method Summary
 void connect()
           
 InputStream getInputStream()
          Return an InputStream object to read from the source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletConnection

public ServletConnection(String url)
                  throws MalformedURLException
Construct a new object

Method Detail

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.