Package org.zalando.riptide
Class Bindings
java.lang.Object
org.zalando.riptide.Bindings
Static factories that form entry points to create full
bindings.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A> PartialBinding<A>any(com.google.common.reflect.TypeToken<A> type) Creates a wildcard condition for the given type.static <A> PartialBinding<A>Creates a wildcard condition for the given type.static PartialBinding<org.springframework.http.MediaType>static PartialBinding<org.springframework.http.HttpStatus.Series>static PartialBinding<org.springframework.http.HttpStatus>static PartialBinding<Integer>static <A> PartialBinding<A>on(A attribute)
-
Method Details
-
on
-
any
Creates a wildcard condition for the given type. Note that this method is meant to be used as a base for specialized factory methods, e.g. likeanyStatus().- Type Parameters:
A- generic attribute type- Parameters:
type- attribute type- Returns:
- an any condition on the given attribute type
- See Also:
-
any
Creates a wildcard condition for the given type. Note that this method is meant to be used as a base for specialized factory methods, e.g. likeanyStatus().- Type Parameters:
A- generic attribute type- Parameters:
type- attribute type- Returns:
- an any condition on the given attribute type
- See Also:
-
anySeries
-
anyStatus
-
anyStatusCode
-
anyContentType
-