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
ConstructorsConstructorDescriptionIdServerHTTPConfiguration(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 theadminAPIServicerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of theuserAPIServicerecord component.Returns the value of theuserViewServicerecord 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
-
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). -
adminAPIService
Returns the value of theadminAPIServicerecord component.- Returns:
- the value of the
adminAPIServicerecord component
-
userAPIService
Returns the value of theuserAPIServicerecord component.- Returns:
- the value of the
userAPIServicerecord component
-
userViewService
Returns the value of theuserViewServicerecord component.- Returns:
- the value of the
userViewServicerecord component
-