Class JwtUtil.Address

java.lang.Object
io.helidon.security.jwt.JwtUtil.Address
Enclosing class:
JwtUtil

public static class JwtUtil.Address extends Object
Address class representing the JSON object for address.
  • Constructor Details

    • Address

      public Address(JsonObject jsonObject)
      Create an address object from json representation.
      Parameters:
      jsonObject - object with expected keys
    • Address

      @Deprecated(since="4.5.0", forRemoval=true) public Address(JsonObject jsonObject)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create an address object from json representation.
      Parameters:
      jsonObject - object with expected keys
  • Method Details

    • getFormatted

      public Optional<String> getFormatted()
    • getStreetAddress

      public Optional<String> getStreetAddress()
    • getLocality

      public Optional<String> getLocality()
    • getRegion

      public Optional<String> getRegion()
    • getPostalCode

      public Optional<String> getPostalCode()
    • getCountry

      public Optional<String> getCountry()
    • jsonObject

      public JsonObject jsonObject()
      Create a json representation of this address.
      Returns:
      Address as a Json object
    • getJson

      @Deprecated(since="4.5.0", forRemoval=true) public JsonObject getJson()
      Deprecated, for removal: This API element is subject to removal in a future version.
      use jsonObject() instead
      Create a json representation of this address.
      Returns:
      Address as a Json object