public Response applyWithWildcardMatching()

in showcase/src/main/java/org/apache/peeco/showcase/HelloWorldHandler.java [70:80]


    public Response applyWithWildcardMatching(Request request){
        String responseContent = "Responding to /hello3/* : Hello with Wildcard URL from " + getClass().getName();
        ByteArrayInputStream output = new ByteArrayInputStream(
                responseContent.getBytes(StandardCharsets.UTF_8));

        Response response = new Response(output);
        response.addHeader("statusCode", "200");
        response.addHeader("content-type", "text/html");

        return response;
    }