org.apache.cocoon.servletservice
Class RelativeServletConnection

java.lang.Object
  extended byorg.apache.cocoon.servletservice.AbstractServletConnection
      extended byorg.apache.cocoon.servletservice.RelativeServletConnection
All Implemented Interfaces:
ServletConnection

public final class RelativeServletConnection
extends AbstractServletConnection

Implementation of a ServletConnection that gets its content by invoking the servlet service. It works based on the context of the current servlet context and its connections.

Since:
1.0.0
Version:
$Id: RelativeServletConnection.java 635985 2008-03-11 15:56:59Z reinhard $

Nested Class Summary
 
Nested classes inherited from class org.apache.cocoon.servletservice.AbstractServletConnection
AbstractServletConnection.NoServletContextAvailableException
 
Field Summary
 
Fields inherited from class org.apache.cocoon.servletservice.AbstractServletConnection
connected, context, logger, request, requestBody, response, responseBody, uri
 
Constructor Summary
RelativeServletConnection(String connectionName, String path, String queryString)
           
 
Method Summary
protected  void performConnect()
          Perform the actual connect that invokes the servlet service.
 
Methods inherited from class org.apache.cocoon.servletservice.AbstractServletConnection
connect, getContentType, getHeaderField, getHeaderFieldDate, getInputStream, getLastModified, getOutputStream, getResponseCode, getURI, setIfModifiedSince
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelativeServletConnection

public RelativeServletConnection(String connectionName,
                                 String path,
                                 String queryString)
Method Detail

performConnect

protected void performConnect()
                       throws ServletException,
                              IOException
Perform the actual connect that invokes the servlet service.

Specified by:
performConnect in class AbstractServletConnection
Throws:
ServletException
IOException


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.