org.apache.cocoon.servletservice
Class RelativeServletConnection

java.lang.Object
  extended by org.apache.cocoon.servletservice.AbstractServletConnection
      extended by org.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.html 1422810 2012-12-17 09:13:50Z ilgrosso $

Nested Class Summary
 
Nested classes/interfaces 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, getDateHeader, getHeaderField, getHeaderFieldDate, getHeaders, 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 javax.servlet.ServletException,
                              IOException
Perform the actual connect that invokes the servlet service.

Specified by:
performConnect in class AbstractServletConnection
Throws:
javax.servlet.ServletException
IOException


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