Package ch.rswk.meta.engine
Record Class GatewayService.WebhookRequest
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.GatewayService.WebhookRequest
- All Implemented Interfaces:
GatewayService.DeliveryRequest
- Enclosing class:
GatewayService
public static record GatewayService.WebhookRequest(org.eclipse.jetty.client.api.Request httpRequest)
extends Record
implements GatewayService.DeliveryRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.eclipse.jetty.client.api.Request
The field for thehttpRequest
record component. -
Constructor Summary
ConstructorsConstructorDescriptionWebhookRequest
(org.eclipse.jetty.client.api.Request httpRequest) Creates an instance of aWebhookRequest
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.org.eclipse.jetty.client.api.Request
Returns the value of thehttpRequest
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
httpRequest
private final org.eclipse.jetty.client.api.Request httpRequestThe field for thehttpRequest
record component.
-
-
Constructor Details
-
WebhookRequest
public WebhookRequest(org.eclipse.jetty.client.api.Request httpRequest) Creates an instance of aWebhookRequest
record class.- Parameters:
httpRequest
- the value for thehttpRequest
record 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)
. -
httpRequest
public org.eclipse.jetty.client.api.Request httpRequest()Returns the value of thehttpRequest
record component.- Returns:
- the value of the
httpRequest
record component
-