@Requires(classes={io.micronaut.http.bind.binders.RequestArgumentBinder.class,org.springframework.data.domain.Pageable.class})
@Singleton
public class SpringPageableRequestArgumentBinder
extends java.lang.Object
implements io.micronaut.http.bind.binders.TypedRequestArgumentBinder<org.springframework.data.domain.Pageable>
Modifier and Type | Field and Description |
---|---|
static io.micronaut.core.type.Argument<org.springframework.data.domain.Pageable> |
TYPE |
Modifier | Constructor and Description |
---|---|
protected |
SpringPageableRequestArgumentBinder(DataConfiguration.PageableConfiguration configuration)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
io.micronaut.core.type.Argument<org.springframework.data.domain.Pageable> |
argumentType() |
io.micronaut.core.bind.ArgumentBinder.BindingResult<org.springframework.data.domain.Pageable> |
bind(io.micronaut.core.convert.ArgumentConversionContext<org.springframework.data.domain.Pageable> context,
io.micronaut.http.HttpRequest<?> source) |
public static final io.micronaut.core.type.Argument<org.springframework.data.domain.Pageable> TYPE
protected SpringPageableRequestArgumentBinder(DataConfiguration.PageableConfiguration configuration)
configuration
- The configurationpublic io.micronaut.core.type.Argument<org.springframework.data.domain.Pageable> argumentType()
argumentType
in interface io.micronaut.core.bind.TypeArgumentBinder<org.springframework.data.domain.Pageable,io.micronaut.http.HttpRequest<?>>
public io.micronaut.core.bind.ArgumentBinder.BindingResult<org.springframework.data.domain.Pageable> bind(io.micronaut.core.convert.ArgumentConversionContext<org.springframework.data.domain.Pageable> context, io.micronaut.http.HttpRequest<?> source)
bind
in interface io.micronaut.core.bind.ArgumentBinder<org.springframework.data.domain.Pageable,io.micronaut.http.HttpRequest<?>>