NextApp Echo
App Container 1.0.5

nextapp.echoservlet
Class UnknownIdService

java.lang.Object
  extended bynextapp.echoservlet.UnknownIdService
All Implemented Interfaces:
java.io.Serializable, Service

final class UnknownIdService
extends java.lang.Object
implements java.io.Serializable, Service

A service which is rendered in response to a request for a service that cannot be found.


Field Summary
(package private) static Service SERVICE_UNKNOWN_ID
           
 
Constructor Summary
private UnknownIdService()
          Creates a new UnknownIdService.
 
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
 

Field Detail

SERVICE_UNKNOWN_ID

static final Service SERVICE_UNKNOWN_ID
Constructor Detail

UnknownIdService

private UnknownIdService()
Creates a new UnknownIdService.

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.
See Also:
Service.getId()

service

public void service(Connection conn)
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.
See Also:
Service.service(nextapp.echoservlet.Connection)

NextApp Echo
App Container 1.0.5