com.continuuity.http
Class BasicHandlerContext

java.lang.Object
  extended by com.continuuity.http.BasicHandlerContext
All Implemented Interfaces:
HandlerContext

public class BasicHandlerContext
extends Object
implements HandlerContext

BasicHandlerContext returns an empty runtime arguments.


Constructor Summary
BasicHandlerContext(HttpResourceHandler httpResourceHandler)
           
 
Method Summary
 HttpResourceHandler getHttpResourceHandler()
           
 Map<String,String> getRuntimeArguments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicHandlerContext

public BasicHandlerContext(HttpResourceHandler httpResourceHandler)
Method Detail

getRuntimeArguments

public Map<String,String> getRuntimeArguments()
Specified by:
getRuntimeArguments in interface HandlerContext
Returns:
Key Value pairs of runtime arguments.

getHttpResourceHandler

public HttpResourceHandler getHttpResourceHandler()
Specified by:
getHttpResourceHandler in interface HandlerContext
Returns:
the HttpResourceHandler associated with this context, used to let one handler call another internally.


Copyright 2013 Continuuity, Inc. Licensed under the Apache License, Version 2.0