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 Object implements HandlerBuilder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HandlerWrapper
build(Map<String,Object> config)
Creates the handlerString
defaultParameter()
String
name()
The string representation of the handler name.Map<String,Class<?>>
parameters()
Returns a map of parameters and their types.Set<String>
requiredParameters()
-
-
-
Method Detail
-
name
public 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 Map<String,Class<?>> parameters()
Description copied from interface:HandlerBuilder
Returns a map of parameters and their types.- Specified by:
parameters
in interfaceHandlerBuilder
-
requiredParameters
public Set<String> requiredParameters()
- Specified by:
requiredParameters
in interfaceHandlerBuilder
- Returns:
- The required parameters
-
defaultParameter
public 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(Map<String,Object> config)
Description copied from interface:HandlerBuilder
Creates the handler- Specified by:
build
in interfaceHandlerBuilder
- Parameters:
config
- The handler config- Returns:
- The new predicate
-
-