Top Description Constructors Methods
io.undertow.server.handlers.builder

public Class HandlerParser

extends Object
Class Inheritance
Imports
io.undertow.server.HandlerWrapper

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

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static HandlerWrapper
parse(String string, final ClassLoader classLoader)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

HandlerParserback to summary
public HandlerParser()

Method Detail

parseback to summary
public static HandlerWrapper parse(String string, final ClassLoader classLoader)