Interface TypedRequestArgumentBinder<T>

Type Parameters:
T - A type
All Superinterfaces:
ArgumentBinder<T,HttpRequest<?>>, RequestArgumentBinder<T>, TypeArgumentBinder<T,HttpRequest<?>>
All Known Subinterfaces:
NonBlockingBodyArgumentBinder<T>
All Known Implementing Classes:
BasicAuthArgumentBinder, LocaleArgumentBinder, MultipartBodyArgumentBinder, RouteMatchArgumentBinder

public interface TypedRequestArgumentBinder<T> extends RequestArgumentBinder<T>, TypeArgumentBinder<T,HttpRequest<?>>
A TypeArgumentBinder that binds from an HttpRequest.
Since:
1.0
Author:
Graeme Rocher
  • Method Details

    • superTypes

      @NonNull default @NonNull List<Class<?>> superTypes()
      Returns additional super types.
      Returns:
      Additional supers types
    • matches

      default boolean matches(Class<?> aClass)
      Check if this typed argument binder matches the provided class.
      Parameters:
      aClass - The class to match
      Returns:
      true if matches