Package eu.webtoolkit.jwt
Class WValidator.Result
java.lang.Object
eu.webtoolkit.jwt.WValidator.Result
- Enclosing class:
- WValidator
A class that holds a validation result.
This structure is returned as the result of validation.
-
Constructor Summary
ConstructorsConstructorDescriptionResult()Default constructor.Result(ValidationState state) Constructor.Result(ValidationState state, CharSequence message) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the validation message.getState()Returns the validation state.
-
Constructor Details
-
Result
public Result()Default constructor.Creates an invalid result.
-
Result
Constructor.Creates a result with given
stateandmessage. -
Result
Constructor.Creates a result with given
stateand initalizes the message field to an emptyWString.
-
-
Method Details
-
getState
Returns the validation state. -
getMessage
Returns the validation message.
-