Package ch.rswk.meta.engine.rs
Record Class EngineResources.VerifyTokenResult
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.rs.EngineResources.VerifyTokenResult
- Enclosing interface:
EngineResources
public static record EngineResources.VerifyTokenResult(@Nullable jakarta.ws.rs.core.Response errorResponse, UserService.VerifyTokenReply tokenResponse)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable jakarta.ws.rs.core.ResponseThe field for theerrorResponserecord component.private final UserService.VerifyTokenReplyThe field for thetokenResponserecord component. -
Constructor Summary
ConstructorsConstructorDescriptionVerifyTokenResult(@Nullable jakarta.ws.rs.core.Response errorResponse, UserService.VerifyTokenReply tokenResponse) Creates an instance of aVerifyTokenResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable jakarta.ws.rs.core.ResponseReturns the value of theerrorResponserecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thetokenResponserecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
errorResponse
private final @Nullable jakarta.ws.rs.core.Response errorResponseThe field for theerrorResponserecord component. -
tokenResponse
The field for thetokenResponserecord component.
-
-
Constructor Details
-
VerifyTokenResult
public VerifyTokenResult(@Nullable jakarta.ws.rs.core.Response errorResponse, UserService.VerifyTokenReply tokenResponse) Creates an instance of aVerifyTokenResultrecord class.- Parameters:
errorResponse- the value for theerrorResponserecord componenttokenResponse- the value for thetokenResponserecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
errorResponse
public @Nullable jakarta.ws.rs.core.Response errorResponse()Returns the value of theerrorResponserecord component.- Returns:
- the value of the
errorResponserecord component
-
tokenResponse
Returns the value of thetokenResponserecord component.- Returns:
- the value of the
tokenResponserecord component
-