Class HandlerParser
- java.lang.Object
-
- io.undertow.server.handlers.builder.HandlerParser
-
public class HandlerParser extends Object
Parser that can build a handler from a string representation. The underlying syntax is quite simple, and example is shown below:rewrite[value="/path"]
If a handler is only being passed a single parameter then the parameter name can be omitted. Strings can be enclosed in optional double or single quotations marks, and quotation marks can be escaped using\"
.Array types are represented via a comma separated list of values enclosed in curly braces.
- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description HandlerParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HandlerWrapper
parse(String string, ClassLoader classLoader)
-
-
-
Method Detail
-
parse
public static HandlerWrapper parse(String string, ClassLoader classLoader)
-
-