Package io.micronaut.data.runtime.http
Class PageableRequestArgumentBinder
java.lang.Object
io.micronaut.data.runtime.http.PageableRequestArgumentBinder
- All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinder<Pageable,
,io.micronaut.http.HttpRequest<?>> io.micronaut.core.bind.TypeArgumentBinder<Pageable,
,io.micronaut.http.HttpRequest<?>> io.micronaut.http.bind.binders.RequestArgumentBinder<Pageable>
,io.micronaut.http.bind.binders.TypedRequestArgumentBinder<Pageable>
@Requires(classes=io.micronaut.http.bind.binders.RequestArgumentBinder.class)
@Singleton
public class PageableRequestArgumentBinder
extends Object
implements io.micronaut.http.bind.binders.TypedRequestArgumentBinder<Pageable>
A request argument binder for binding a
Pageable
object from the request.- Since:
- 1.0.0
- Author:
- graemerocher
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object>
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.http.bind.binders.TypedRequestArgumentBinder
matches, superTypes
-
Field Details
-
TYPE
-
-
Constructor Details
-
PageableRequestArgumentBinder
Default constructor.- Parameters:
configuration
- The configuration
-
-
Method Details
-
argumentType
- Specified by:
argumentType
in interfaceio.micronaut.core.bind.TypeArgumentBinder<Pageable,
io.micronaut.http.HttpRequest<?>>
-
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<Pageable> bind(io.micronaut.core.convert.ArgumentConversionContext<Pageable> context, io.micronaut.http.HttpRequest<?> source) - Specified by:
bind
in interfaceio.micronaut.core.bind.ArgumentBinder<Pageable,
io.micronaut.http.HttpRequest<?>>
-