/** * Builds a new Http.Context for a specific request * @param request the Request you want to use for this Context * @return a new Http.Context for this request * * @deprecated Deprecated as of 2.7.0. See <a href="https://www.playframework.com/documentation/latest/JavaHttpContextMigration27">migration guide</a>. */ @Deprecated public static Http.Context httpContext(Http.Request request) { return new Http.Context(request, contextComponents()); }
/** * Builds a new Http.Context for a specific request * @param request the Request you want to use for this Context * @return a new Http.Context for this request * * @deprecated Deprecated as of 2.7.0. See <a href="https://www.playframework.com/documentation/latest/JavaHttpContextMigration27">migration guide</a>. */ @Deprecated public static Http.Context httpContext(Http.Request request) { return new Http.Context(request, contextComponents()); }