Type
- unmarshalled typepublic class BaseUnmarshalledRequest<Type> extends Object implements UnmarshalledRequest<Type>
UnmarshalledRequest
.Constructor and Description |
---|
BaseUnmarshalledRequest(Type unmarshalledRequest,
com.fasterxml.jackson.databind.JsonNode json)
Constructor to build an instance of BaseUnmarshalledRequest.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
getRequestJson()
Returns the raw request as a
JsonNode . |
Type |
getUnmarshalledRequest()
Returns the unmarshalled request.
|
public BaseUnmarshalledRequest(Type unmarshalledRequest, com.fasterxml.jackson.databind.JsonNode json)
unmarshalledRequest
- unmarshalled request.json
- instance of JsonNode
.public Type getUnmarshalledRequest()
getUnmarshalledRequest
in interface UnmarshalledRequest<Type>
public com.fasterxml.jackson.databind.JsonNode getRequestJson()
JsonNode
..getRequestJson
in interface UnmarshalledRequest<Type>
Copyright © 2023. All rights reserved.