Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.undertow.server.handlers;
 
 
Handler that sets up the predicate context

Author(s):
Stuart Douglas
public class PredicateContextHandler implements HttpHandler {
    private final HttpHandler next;
    public PredicateContextHandler(HttpHandler next) {
        this. = next;
    }
    @Override
    public void handleRequest(HttpServerExchange exchangethrows Exception {
        exchange.putAttachment(.new HashMap<StringObject>());
        .handleRequest(exchange);
    }
New to GrepCode? Check out our FAQ X