/** * Builds a new fake request corresponding to a given route call. * @param call the route call. * @return the request builder. */ public static RequestBuilder fakeRequest(Call call) { return fakeRequest(call.method(), call.url()); }
/** * Build a new fake request corresponding to a given route call */ public static RequestBuilder fakeRequest(Call call) { return fakeRequest(call.method(), call.url()); }
/** * Builds a new fake request corresponding to a given route call. * @param call the route call. * @return the request builder. */ public static RequestBuilder fakeRequest(Call call) { return fakeRequest(call.method(), call.url()); }
/** * Returns a new Call with the given fragment. * * @param fragment the URL fragment * @return a copy of this call that contains the fragment */ public Call withFragment(String fragment) { return new play.api.mvc.Call(method(), url(), fragment); }
/** * Returns a new Call with the given fragment. * * @param fragment the URL fragment * @return a copy of this call that contains the fragment */ public Call withFragment(String fragment) { return new play.api.mvc.Call(method(), url(), fragment); }
/** * Returns a new Call with the given fragment. */ public Call withFragment(String fragment) { return new play.api.mvc.Call(method(), url(), fragment); }
/** * Returns a new Call with the given fragment. * * @param fragment the URL fragment * @return a copy of this call that contains the fragment */ public Call withFragment(String fragment) { return new play.api.mvc.Call(method(), url(), fragment); }
/** * Append a unique identifier to the URL. * * @return a copy if this call with a unique identifier to this url */ public Call unique() { return new play.api.mvc.Call(method(), this.uniquify(this.url()), fragment()); }
/** * Append a unique identifier to the URL. * * @return a copy if this call with a unique identifier to this url */ public Call unique() { return new play.api.mvc.Call(method(), this.uniquify(this.url()), fragment()); }
/** * Append a unique identifier to the URL. * * @return a copy if this call with a unique identifier to this url */ public Call unique() { return new play.api.mvc.Call(method(), this.uniquify(this.url()), fragment()); }
/** * Append a unique identifier to the URL. */ public Call unique() { return new play.api.mvc.Call(method(), this.uniquify(this.url()), fragment()); }