public final class PageableFieldValidator extends Object
| Constructor and Description |
|---|
PageableFieldValidator(Class<?> entityClass,
String fieldName,
jakarta.ws.rs.core.UriInfo uri)
Creates the validator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLimit()
Returns a value of Limit paging parameter.
|
int |
getOffset()
Returns a value of Offset paging parameter.
|
boolean |
isFeatureApplicable()
Checks if request is valid.
|
public boolean isFeatureApplicable()
throws JPARSException
JPARSException - in case of any validation errors.public int getOffset()
public int getLimit()
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.