Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.undertow.server.handlers.builder;
 
 import java.util.Map;
 import java.util.Set;

Interface that provides a way of providing a textual representation of a handler.

Author(s):
Stuart Douglas
public interface HandlerBuilder {

    
The string representation of the handler name.

Returns:
The handler name
    String name();

    
Returns a map of parameters and their types.
    Map<StringClass<?>> parameters();

    

Returns:
The required parameters
    Set<StringrequiredParameters();

    

Returns:
The default parameter name, or null if it does not have a default parameter
    String defaultParameter();

    
Creates the handler

Parameters:
config The handler config
Returns:
The new predicate
    HandlerWrapper build(final Map<StringObjectconfig);
New to GrepCode? Check out our FAQ X