Record Class McpEndpointConfiguration
java.lang.Object
java.lang.Record
org.wildfly.extension.mcp.McpEndpointConfiguration
- Record Components:
ssePath- : the URL path of the sse endpoint.messagesPath- : the URL path of the messages endpoint.streamablePath- : the URL path of the streamable endpoint.
-
Constructor Summary
ConstructorsConstructorDescriptionMcpEndpointConfiguration(String ssePath, String messagesPath, String streamablePath) Creates an instance of aMcpEndpointConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themessagesPathrecord component.ssePath()Returns the value of thessePathrecord component.Returns the value of thestreamablePathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpEndpointConfiguration
Creates an instance of aMcpEndpointConfigurationrecord class.- Parameters:
ssePath- the value for thessePathrecord componentmessagesPath- the value for themessagesPathrecord componentstreamablePath- the value for thestreamablePathrecord 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). -
ssePath
-
messagesPath
Returns the value of themessagesPathrecord component.- Returns:
- the value of the
messagesPathrecord component
-
streamablePath
Returns the value of thestreamablePathrecord component.- Returns:
- the value of the
streamablePathrecord component
-