net.sf.jzeno.echo.components
Class AsyncComponent.AsyncService

java.lang.Object
  extended by net.sf.jzeno.echo.components.AsyncComponent.AsyncService
All Implemented Interfaces:
Service
Enclosing class:
AsyncComponent

public static class AsyncComponent.AsyncService
extends java.lang.Object
implements Service


Constructor Summary
AsyncComponent.AsyncService()
           
 
Method Summary
 Id getId()
          Returns a unique identifier for this service.
 void service(Connection conn)
          Services an HTTP request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncComponent.AsyncService

public AsyncComponent.AsyncService()
Method Detail

getId

public Id getId()
Description copied from interface: Service
Returns a unique identifier for this service.

Specified by:
getId in interface Service
Returns:
A unique identifier for this service.

service

public void service(Connection conn)
             throws java.io.IOException
Description copied from interface: Service
Services an HTTP request. Information about the HTTP request as well as methods for issuing a response are available from the provided Connection object.

Specified by:
service in interface Service
Parameters:
conn - A Connection object which wraps HttpServletRequest and HttpServletResponse objects and provides access to the facilities of the Echo application container.
Throws:
java.io.IOException - in the event of errors related to processing the HTTP request or producing a response.