Package de.saumya.mojo.proxy.Controller

Examples of de.saumya.mojo.proxy.Controller.FileLocation


    @Override
    protected void doGet(final HttpServletRequest req,
            final HttpServletResponse resp) throws ServletException,
            IOException {
        FileLocation file = controller.locate(req.getPathInfo().substring(1));

        switch(file.type){
        case NOT_FOUND:
            resp.sendError(HttpServletResponse.SC_NOT_FOUND, file.content);
            break;
View Full Code Here

TOP

Related Classes of de.saumya.mojo.proxy.Controller.FileLocation

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.