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