Record Class PublicEndpointBinding
java.lang.Object
java.lang.Record
io.leandev.appfuse.web.url.PublicEndpointBinding
- All Implemented Interfaces:
Serializable
public record PublicEndpointBinding(String entryId, String scopeId, String serverBaseUrl)
extends Record
implements Serializable
協定/credential 保存的不可變入口快照;消費時仍須核對 current entry 與身分。
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPublicEndpointBinding(String entryId, String scopeId, String serverBaseUrl) Creates an instance of aPublicEndpointBindingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionSHA-256 指紋包含 entry、精確 scope 與 canonical server URL;不暴露憑證。entryId()Returns the value of theentryIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanmatches(PublicEndpoint endpoint) scopeId()Returns the value of thescopeIdrecord component.Returns the value of theserverBaseUrlrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PublicEndpointBinding
Creates an instance of aPublicEndpointBindingrecord class.- Parameters:
entryId- the value for theentryIdrecord componentscopeId- the value for thescopeIdrecord componentserverBaseUrl- the value for theserverBaseUrlrecord component
-
-
Method Details
-
credentialContext
SHA-256 指紋包含 entry、精確 scope 與 canonical server URL;不暴露憑證。 -
matches
-
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). -
entryId
Returns the value of theentryIdrecord component.- Returns:
- the value of the
entryIdrecord component
-
scopeId
Returns the value of thescopeIdrecord component.- Returns:
- the value of the
scopeIdrecord component
-
serverBaseUrl
Returns the value of theserverBaseUrlrecord component.- Returns:
- the value of the
serverBaseUrlrecord component
-