Interface InvalidTokenError

All Superinterfaces:
ErrorObject

public interface InvalidTokenError extends ErrorObject
InvalidTokenError
Example to create an instance using the builder pattern

     InvalidTokenError invalidTokenError = InvalidTokenError.builder()
             .message("{message}")
             .build()
 
  • Field Details

  • Method Details

    • of

      static InvalidTokenError of()
      factory method
      Returns:
      instance of InvalidTokenError
    • of

      static InvalidTokenError of(InvalidTokenError template)
      factory method to create a shallow copy InvalidTokenError
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of InvalidTokenError
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static InvalidTokenErrorBuilder builder()
      builder factory method for InvalidTokenError
      Returns:
      builder
    • builder

      static InvalidTokenErrorBuilder builder(InvalidTokenError template)
      create builder for InvalidTokenError instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withInvalidTokenError

      default <T> T withInvalidTokenError(Function<InvalidTokenError,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<InvalidTokenError> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference