Class Bindings

java.lang.Object
org.zalando.riptide.Bindings

@API(status=STABLE) public final class Bindings extends Object
Static factories that form entry points to create full bindings.
See Also:
  • Method Details

    • on

      public static <A> PartialBinding<A> on(A attribute)
    • any

      public static <A> PartialBinding<A> any(Class<A> type)
      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. like anyStatus().
      Type Parameters:
      A - generic attribute type
      Parameters:
      type - attribute type
      Returns:
      an any condition on the given attribute type
      See Also:
    • any

      public static <A> PartialBinding<A> any(com.google.common.reflect.TypeToken<A> type)
      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. like anyStatus().
      Type Parameters:
      A - generic attribute type
      Parameters:
      type - attribute type
      Returns:
      an any condition on the given attribute type
      See Also:
    • anySeries

      public static PartialBinding<org.springframework.http.HttpStatus.Series> anySeries()
    • anyStatus

      public static PartialBinding<org.springframework.http.HttpStatus> anyStatus()
    • anyStatusCode

      public static PartialBinding<Integer> anyStatusCode()
    • anyContentType

      public static PartialBinding<org.springframework.http.MediaType> anyContentType()