Record Class EdgeRequestProof
java.lang.Object
java.lang.Record
io.fluxzero.idp.bff.edge.EdgeRequestProof
@Model(name="BffEdgeRequestProof",
persistence=DOCUMENT,
eventPublication=NEVER,
cached=false,
conflictPolicy=FAIL,
searchable=true,
searchSettings=@SearchSettings(timestampPath="retainUntil"),
automaticHandling=DISABLED)
public record EdgeRequestProof(EdgeRequestId id, String applicationId, String reference, String origin, Instant acceptUntil, Instant retainUntil, boolean websocket, String socketId)
extends Record
Only digests and public routing context; never headers, cookies or bearer credentials.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionEdgeRequestProof(EdgeRequestId id, String applicationId, String reference, String origin, Instant acceptUntil, Instant retainUntil, boolean websocket, String socketId) Creates an instance of aEdgeRequestProofrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theacceptUntilrecord component.Returns the value of theapplicationIdrecord component.bindSocket(String socketId) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.origin()Returns the value of theoriginrecord component.Returns the value of thereferencerecord component.Returns the value of theretainUntilrecord component.socketId()Returns the value of thesocketIdrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thewebsocketrecord component.
-
Constructor Details
-
EdgeRequestProof
public EdgeRequestProof(EdgeRequestId id, String applicationId, String reference, String origin, Instant acceptUntil, Instant retainUntil, boolean websocket, String socketId) Creates an instance of aEdgeRequestProofrecord class.- Parameters:
id- the value for theidrecord componentapplicationId- the value for theapplicationIdrecord componentreference- the value for thereferencerecord componentorigin- the value for theoriginrecord componentacceptUntil- the value for theacceptUntilrecord componentretainUntil- the value for theretainUntilrecord componentwebsocket- the value for thewebsocketrecord componentsocketId- the value for thesocketIdrecord component
-
-
Method Details
-
bindSocket
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
applicationId
Returns the value of theapplicationIdrecord component.- Returns:
- the value of the
applicationIdrecord component
-
reference
Returns the value of thereferencerecord component.- Returns:
- the value of the
referencerecord component
-
origin
Returns the value of theoriginrecord component.- Returns:
- the value of the
originrecord component
-
acceptUntil
Returns the value of theacceptUntilrecord component.- Returns:
- the value of the
acceptUntilrecord component
-
retainUntil
Returns the value of theretainUntilrecord component.- Returns:
- the value of the
retainUntilrecord component
-
websocket
public boolean websocket()Returns the value of thewebsocketrecord component.- Returns:
- the value of the
websocketrecord component
-
socketId
Returns the value of thesocketIdrecord component.- Returns:
- the value of the
socketIdrecord component
-