Package com.io7m.idstore.server.api
Record Class IdServerHTTPConfiguration
java.lang.Object
java.lang.Record
com.io7m.idstore.server.api.IdServerHTTPConfiguration
- Record Components:
adminAPIService
- The admin API serviceuserAPIService
- The user API serviceuserViewService
- The user view service
- All Implemented Interfaces:
IdServerJSONConfigurationElementType
public record IdServerHTTPConfiguration(IdServerHTTPServiceConfiguration adminAPIService, IdServerHTTPServiceConfiguration userAPIService, IdServerHTTPServiceConfiguration userViewService)
extends Record
implements IdServerJSONConfigurationElementType
Configuration for the parts of the server that serve over HTTP.
-
Constructor Summary
ConstructorDescriptionIdServerHTTPConfiguration
(IdServerHTTPServiceConfiguration adminAPIService, IdServerHTTPServiceConfiguration userAPIService, IdServerHTTPServiceConfiguration userViewService) Configuration for the parts of the server that serve over HTTP. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadminAPIService
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.Returns the value of theuserAPIService
record component.Returns the value of theuserViewService
record component.
-
Constructor Details
-
IdServerHTTPConfiguration
public IdServerHTTPConfiguration(IdServerHTTPServiceConfiguration adminAPIService, IdServerHTTPServiceConfiguration userAPIService, IdServerHTTPServiceConfiguration userViewService) Configuration for the parts of the server that serve over HTTP.- Parameters:
adminAPIService
- The admin API serviceuserAPIService
- The user API serviceuserViewService
- The user view service
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
adminAPIService
Returns the value of theadminAPIService
record component.- Returns:
- the value of the
adminAPIService
record component
-
userAPIService
Returns the value of theuserAPIService
record component.- Returns:
- the value of the
userAPIService
record component
-
userViewService
Returns the value of theuserViewService
record component.- Returns:
- the value of the
userViewService
record component
-