Package yalp.mvc.results

Examples of yalp.mvc.results.Forbidden


     * Send a 403 Forbidden response
     *
     * @param reason The reason
     */
    protected static void forbidden(String reason) {
        throw new Forbidden(reason);
    }
View Full Code Here


    /**
     * Send a 403 Forbidden response
     */
    protected static void forbidden() {
        throw new Forbidden("Access denied");
    }
View Full Code Here

TOP

Related Classes of yalp.mvc.results.Forbidden

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.