org.apache.cocoon.servletservice
Class AbsoluteServletConnection

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

public final class AbsoluteServletConnection
extends AbstractServletConnection

Create a connection to a servlet service. In order to use it, the fully qualified service name must be available.

Since:
1.0.0
Version:
$Id: AbsoluteServletConnection.java 664527 2008-06-08 17:19:35Z reinhard $

Nested Class Summary
 
Nested classes inherited from class org.apache.cocoon.servletservice.AbstractServletConnection
AbstractServletConnection.NoServletContextAvailableException
 
Field Summary
static String ABSOLUTE_SERVLET_SOURCE_POSTFIX
           
 
Fields inherited from class org.apache.cocoon.servletservice.AbstractServletConnection
connected, context, logger, request, requestBody, response, responseBody, uri
 
Constructor Summary
AbsoluteServletConnection(String serviceName, String path, String queryString)
          Create an absolute connection to a servlet service.
 
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
 

Field Detail

ABSOLUTE_SERVLET_SOURCE_POSTFIX

public static String ABSOLUTE_SERVLET_SOURCE_POSTFIX
Constructor Detail

AbsoluteServletConnection

public AbsoluteServletConnection(String serviceName,
                                 String path,
                                 String queryString)
Create an absolute connection to a servlet service.

Parameters:
serviceName - The fully qualified service name (= the name of the Spring bean).
path - The requested path of the service.
queryString - The query parameters formatted as HTTP request query string.
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.