Package io.undertow.servlet.predicate
Class DispatcherTypePredicate
- java.lang.Object
-
- io.undertow.servlet.predicate.DispatcherTypePredicate
-
- All Implemented Interfaces:
io.undertow.predicate.Predicate
public class DispatcherTypePredicate extends java.lang.Object implements io.undertow.predicate.Predicate
Predicate that returns true if the dispatcher type matches the specified type.- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DispatcherTypePredicate.Builder
-
Field Summary
Fields Modifier and Type Field Description static DispatcherTypePredicate
ASYNC
static DispatcherTypePredicate
ERROR
static DispatcherTypePredicate
FORWARD
static DispatcherTypePredicate
INCLUDE
static DispatcherTypePredicate
REQUEST
-
Constructor Summary
Constructors Constructor Description DispatcherTypePredicate(jakarta.servlet.DispatcherType dispatcherType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
resolve(io.undertow.server.HttpServerExchange value)
java.lang.String
toString()
-
-
-
Field Detail
-
FORWARD
public static final DispatcherTypePredicate FORWARD
-
INCLUDE
public static final DispatcherTypePredicate INCLUDE
-
REQUEST
public static final DispatcherTypePredicate REQUEST
-
ASYNC
public static final DispatcherTypePredicate ASYNC
-
ERROR
public static final DispatcherTypePredicate ERROR
-
-