com.ibm.tspaces.examples.services
Class DemoURIHandler

java.lang.Object
  |
  +--com.ibm.tspaces.examples.services.DemoURIHandler

public class DemoURIHandler
extends java.lang.Object
implements com.ibm.tspaces.server.http.URIReqProcessorFactory

This class handles URIs received by the Demo program

Author:
Joseph Gebis
See Also:
COM.ibm.almaden.gcs.hg.demo

Constructor Summary
DemoURIHandler(Demo demo)
          Creates the Demo URI handler
 
Method Summary
 com.ibm.tspaces.server.http.URIReqProcessor getURIReqProcessor(java.lang.String uri)
          Returns an HTTP request processor to deal with the uri.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemoURIHandler

public DemoURIHandler(Demo demo)
Creates the Demo URI handler
Parameters:
demo - the Demo class
Method Detail

getURIReqProcessor

public com.ibm.tspaces.server.http.URIReqProcessor getURIReqProcessor(java.lang.String uri)
Returns an HTTP request processor to deal with the uri.
Specified by:
getURIReqProcessor in interface com.ibm.tspaces.server.http.URIReqProcessorFactory
Parameters:
uri - the URI to be dealt with
Returns:
an HTTP request processor