Package org.eclipse.jetty.server.handler

Examples of org.eclipse.jetty.server.handler.AllowSymLinkAliasChecker


           
            Files.createSymbolicLink(link.toPath(),foobar.toPath());
            response = connector.getResponses("GET /context/link.txt HTTP/1.0\r\n\r\n");
            assertResponseContains("404", response);
           
            context.addAliasCheck(new AllowSymLinkAliasChecker());
           
            response = connector.getResponses("GET /context/link.txt HTTP/1.0\r\n\r\n");
            assertResponseContains("Foo Bar", response);
        }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jetty.server.handler.AllowSymLinkAliasChecker

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.