com.continuuity.http
Interface HandlerContext

All Known Implementing Classes:
BasicHandlerContext

public interface HandlerContext

Place holder for information about the environment. Will be passed in during lifecycle management calls of HttpHandlers. Currently has methods to get RunTimeArguments.


Method Summary
 HttpResourceHandler getHttpResourceHandler()
           
 Map<String,String> getRuntimeArguments()
           
 

Method Detail

getRuntimeArguments

Map<String,String> getRuntimeArguments()
Returns:
Key Value pairs of runtime arguments.

getHttpResourceHandler

HttpResourceHandler getHttpResourceHandler()
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