public class PageableJsonDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<org.springframework.data.domain.Pageable>
JsonDeserializer to deserialize Pageable objects from JSON.| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
PROPERTY_DIRECTION |
(package private) static String |
PROPERTY_PAGE_NUMBER |
(package private) static String |
PROPERTY_PAGE_SIZE |
(package private) static String |
PROPERTY_PROPERTY |
(package private) static String |
PROPERTY_SORT |
| Constructor and Description |
|---|
PageableJsonDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Pageable |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
private static String |
getRequiredValue(com.fasterxml.jackson.databind.JsonNode node,
String property) |
private static String |
getValue(com.fasterxml.jackson.databind.JsonNode node,
String property) |
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializerstatic final String PROPERTY_DIRECTION
static final String PROPERTY_PROPERTY
static final String PROPERTY_SORT
static final String PROPERTY_PAGE_SIZE
static final String PROPERTY_PAGE_NUMBER
public org.springframework.data.domain.Pageable deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<org.springframework.data.domain.Pageable>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionprivate static String getRequiredValue(com.fasterxml.jackson.databind.JsonNode node, String property)
Copyright © 2014–2019 devon4j-Team. All rights reserved.