public class PredicatedHandlersParser extends Object
This file has a line by line syntax, specifying predicate -> handler. If no predicate is specified then the line is assumed to just contain a handler.
Modifier and Type | Class and Description |
---|---|
static interface | PredicatedHandlersParser.Node |
Modifier and Type | Field and Description |
---|---|
static String | AND |
static String | ARROW |
static String | ELSE |
static String | FALSE |
static String | NOT |
static String | OR |
static String | TRUE |
Constructor and Description |
---|
PredicatedHandlersParser() |
Modifier and Type | Method and Description |
---|---|
static List<PredicatedHandler> | parse(File file, ClassLoader classLoader) |
static List<PredicatedHandler> | parse(InputStream inputStream, ClassLoader classLoader) |
static List<PredicatedHandler> | parse(Path file, ClassLoader classLoader) |
static List<PredicatedHandler> | parse(String contents, ClassLoader classLoader) |
static HandlerWrapper | parseHandler(String string, ClassLoader classLoader) |
static Predicate | parsePredicate(String string, ClassLoader classLoader) |
static Deque<io.undertow.server.handlers.builder.PredicatedHandlersParser.Token> | tokenize(String string) |
public static final String ELSE
public static final String ARROW
public static final String NOT
public static final String OR
public static final String AND
public static final String TRUE
public static final String FALSE
public static List<PredicatedHandler> parse(File file, ClassLoader classLoader)
public static List<PredicatedHandler> parse(Path file, ClassLoader classLoader)
public static List<PredicatedHandler> parse(InputStream inputStream, ClassLoader classLoader)
public static List<PredicatedHandler> parse(String contents, ClassLoader classLoader)
public static Predicate parsePredicate(String string, ClassLoader classLoader)
public static HandlerWrapper parseHandler(String string, ClassLoader classLoader)
Copyright © 2020 JBoss by Red Hat. All rights reserved.