com.noelios.restlet
Class TemplateDispatcher

java.lang.Object
  extended by org.restlet.Uniform
      extended by com.noelios.restlet.TemplateDispatcher

public class TemplateDispatcher
extends Uniform

Default call dispatcher.

Author:
Jerome Louvel (contact@noelios.com)

Constructor Summary
TemplateDispatcher(Context context, Uniform helper)
          Constructor.
 
Method Summary
 Context getContext()
          Returns the parent context.
 void handle(Request request, Response response)
          Handles a call.
 
Methods inherited from class org.restlet.Uniform
delete, delete, get, get, handle, head, head, options, options, post, post, put, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateDispatcher

public TemplateDispatcher(Context context,
                          Uniform helper)
Constructor.

Parameters:
context - The parent context.
helper - The helper dispatcher.
Method Detail

getContext

public Context getContext()
Returns the parent context.

Returns:
The parent context.

handle

public void handle(Request request,
                   Response response)
Handles a call.

Specified by:
handle in class Uniform
Parameters:
request - The request to handle.
response - The response to update.


Copyright © 2005-2007 Noelios Technologies.