Class Gs2AttributeValue
java.lang.Object
com.ongres.scram.common.StringWritable
com.ongres.scram.common.AbstractCharAttributeValue<Gs2Attributes>
com.ongres.scram.common.Gs2AttributeValue
Parse and write GS2 Attribute-Value pairs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static @NotNull Gs2AttributeValueParses a potential Gs2AttributeValue String.Methods inherited from class AbstractCharAttributeValue
getChar, getValue, writeTo
-
Constructor Details
-
Gs2AttributeValue
Gs2AttributeValue(@NotNull @NotNull Gs2Attributes attribute, @Nullable @Nullable String value)
-
-
Method Details
-
parse
Parses a potential Gs2AttributeValue String.- Parameters:
value- The string that contains the Attribute-Value pair (where value is optional).- Returns:
- The parsed class, or null if the String was null.
- Throws:
IllegalArgumentException- If the String is an invalid Gs2AttributeValue
-