Class RequestEncodingHandler.Builder
- java.lang.Object
-
- io.undertow.server.handlers.encoding.RequestEncodingHandler.Builder
-
- All Implemented Interfaces:
HandlerBuilder
- Enclosing class:
- RequestEncodingHandler
public static class RequestEncodingHandler.Builder extends java.lang.Object implements HandlerBuilder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HandlerWrapper
build(java.util.Map<java.lang.String,java.lang.Object> config)
Creates the handlerjava.lang.String
defaultParameter()
java.lang.String
name()
The string representation of the handler name.java.util.Map<java.lang.String,java.lang.Class<?>>
parameters()
Returns a map of parameters and their types.java.util.Set<java.lang.String>
requiredParameters()
-
-
-
Method Detail
-
name
public java.lang.String name()
Description copied from interface:HandlerBuilder
The string representation of the handler name.- Specified by:
name
in interfaceHandlerBuilder
- Returns:
- The handler name
-
parameters
public java.util.Map<java.lang.String,java.lang.Class<?>> parameters()
Description copied from interface:HandlerBuilder
Returns a map of parameters and their types.- Specified by:
parameters
in interfaceHandlerBuilder
-
requiredParameters
public java.util.Set<java.lang.String> requiredParameters()
- Specified by:
requiredParameters
in interfaceHandlerBuilder
- Returns:
- The required parameters
-
defaultParameter
public java.lang.String defaultParameter()
- Specified by:
defaultParameter
in interfaceHandlerBuilder
- Returns:
- The default parameter name, or null if it does not have a default parameter
-
build
public HandlerWrapper build(java.util.Map<java.lang.String,java.lang.Object> config)
Description copied from interface:HandlerBuilder
Creates the handler- Specified by:
build
in interfaceHandlerBuilder
- Parameters:
config
- The handler config- Returns:
- The new predicate
-
-