play.mvc
Class Http.Context.Implicit

java.lang.Object
  extended by play.mvc.Http.Context.Implicit
Enclosing class:
Http.Context

public static class Http.Context.Implicit
extends java.lang.Object

Import in templates to get implicit HTTP context.


Constructor Summary
Http.Context.Implicit()
           
 
Method Summary
static Http.Context ctx()
          Returns the current context.
static Http.Flash flash()
          Returns the current flash scope.
static Lang lang()
          Returns the current lang.
static Http.Request request()
          Returns the current request.
static Http.Response response()
          Returns the current response.
static Http.Session session()
          Returns the current session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Http.Context.Implicit

public Http.Context.Implicit()
Method Detail

response

public static Http.Response response()
Returns the current response.


request

public static Http.Request request()
Returns the current request.


flash

public static Http.Flash flash()
Returns the current flash scope.


session

public static Http.Session session()
Returns the current session.


lang

public static Lang lang()
Returns the current lang.


ctx

public static Http.Context ctx()
Returns the current context.