public class BasicObjectRouteMatch extends java.lang.Object implements RouteMatch<java.lang.Object>
EMPTY| Constructor and Description | 
|---|
| BasicObjectRouteMatch(java.lang.Object object) | 
| Modifier and Type | Method and Description | 
|---|---|
| RouteMatch<java.lang.Object> | decorate(java.util.function.Function<RouteMatch<java.lang.Object>,java.lang.Object> executor)Decorates the execution of the route with the given executor. | 
| boolean | doesConsume(MediaType contentType)Whether the specified content type is an accepted type. | 
| boolean | doesProduce(java.util.Collection<MediaType> acceptableTypes)Whether the route does produce any of the given types. | 
| boolean | doesProduce(MediaType acceptableType)Whether the route does produce any of the given types. | 
| java.lang.Object | execute(java.util.Map<java.lang.String,java.lang.Object> argumentValues)Execute the route with the given values. | 
| RouteMatch<java.lang.Object> | fulfill(java.util.Map<java.lang.String,java.lang.Object> argumentValues)Returns a new  RouteMatchfulfilling arguments required by this route to execute. | 
| java.util.Optional<Argument<?>> | getBodyArgument() | 
| java.lang.Class<?> | getDeclaringType()The declaring type of the route. | 
| java.util.List<MediaType> | getProduces()The media types able to produced by this route. | 
| java.util.Optional<Argument<?>> | getRequiredInput(java.lang.String name)Return whether the given named input is required by this route. | 
| ReturnType<?> | getReturnType() | 
| java.util.Map<java.lang.String,java.lang.Object> | getVariableValues() | 
| boolean | test(HttpRequest httpRequest) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, call, execute, explicitAccept, explicitlyConsumes, getRequiredArguments, isExecutable, isRequiredInput, isSatisfiedisAsync, isAsyncOrReactive, isCompletable, isReactive, isSingleResult, isSpecifiedSingle, isSuspended, isVoidfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotationpublic BasicObjectRouteMatch(java.lang.Object object)
object - An objectpublic java.lang.Class<?> getDeclaringType()
RouteMatchgetDeclaringType in interface RouteMatch<java.lang.Object>public java.util.Map<java.lang.String,java.lang.Object> getVariableValues()
getVariableValues in interface RouteMatch<java.lang.Object>public java.lang.Object execute(java.util.Map<java.lang.String,java.lang.Object> argumentValues)
RouteMatchRouteMatch.getRequiredArguments().execute in interface RouteMatch<java.lang.Object>argumentValues - The argument valuespublic RouteMatch<java.lang.Object> fulfill(java.util.Map<java.lang.String,java.lang.Object> argumentValues)
RouteMatchRouteMatch fulfilling arguments required by this route to execute. The new route will not
 return the given arguments from the RouteMatch.getRequiredArguments() method.fulfill in interface RouteMatch<java.lang.Object>argumentValues - The argument valuespublic RouteMatch<java.lang.Object> decorate(java.util.function.Function<RouteMatch<java.lang.Object>,java.lang.Object> executor)
RouteMatchdecorate in interface RouteMatch<java.lang.Object>executor - The executorpublic java.util.Optional<Argument<?>> getRequiredInput(java.lang.String name)
RouteMatchgetRequiredInput in interface RouteMatch<java.lang.Object>name - The name of the inputpublic java.util.Optional<Argument<?>> getBodyArgument()
getBodyArgument in interface RouteMatch<java.lang.Object>public java.util.List<MediaType> getProduces()
RouteMatchgetProduces in interface RouteMatch<java.lang.Object>MediaType that this route can producepublic ReturnType<?> getReturnType()
getReturnType in interface RouteInfo<java.lang.Object>getReturnType in interface RouteMatch<java.lang.Object>public boolean doesConsume(@Nullable
                           MediaType contentType)
RouteMatchdoesConsume in interface RouteMatch<java.lang.Object>contentType - The content typepublic boolean doesProduce(@Nullable
                           java.util.Collection<MediaType> acceptableTypes)
RouteMatchdoesProduce in interface RouteMatch<java.lang.Object>acceptableTypes - The acceptable typespublic boolean doesProduce(@Nullable
                           MediaType acceptableType)
RouteMatchdoesProduce in interface RouteMatch<java.lang.Object>acceptableType - The acceptable typepublic boolean test(HttpRequest httpRequest)
test in interface java.util.function.Predicate<HttpRequest>