org.apache.cocoon.servletservice
Class AbsoluteServletConnection

java.lang.Object
  extended by org.apache.cocoon.servletservice.AbstractServletConnection
      extended by org.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.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
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, 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
 

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 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.