- java.lang.Object
-
- io.helidon.security.jwt.JwtUtil.Address
-
-
Constructor Summary
Constructors Constructor Description Address(JsonObject jsonObject)
Create an address object from json representation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
getCountry()
Optional<String>
getFormatted()
JsonObject
getJson()
Create a json representation of this address.Optional<String>
getLocality()
Optional<String>
getPostalCode()
Optional<String>
getRegion()
Optional<String>
getStreetAddress()
-
-
-
Constructor Detail
-
Address
public Address(JsonObject jsonObject)
Create an address object from json representation.- Parameters:
jsonObject
- object with expected keys
-
-
Method Detail
-
getJson
public JsonObject getJson()
Create a json representation of this address.- Returns:
- Address as a Json object
-
-