Package play.api.mvc

Examples of play.api.mvc.AnyContentAsText


     * The <tt>Content-Type</tt> header of the request is set to <tt>text/plain</tt>.
     * @param text the text
     * @return the Fake Request
     */
    public FakeRequest withTextBody(String text) {
        return withAnyContent(new AnyContentAsText(text), "text/plain", this.fake.getMethod());
    }
View Full Code Here

TOP

Related Classes of play.api.mvc.AnyContentAsText

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.