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.RequestThe field for thehttpRequestrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionWebhookRequest(org.eclipse.jetty.client.api.Request httpRequest) Creates an instance of aWebhookRequestrecord 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.org.eclipse.jetty.client.api.RequestReturns the value of thehttpRequestrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
httpRequest
private final org.eclipse.jetty.client.api.Request httpRequestThe field for thehttpRequestrecord component.
-
-
Constructor Details
-
WebhookRequest
public WebhookRequest(org.eclipse.jetty.client.api.Request httpRequest) Creates an instance of aWebhookRequestrecord class.- Parameters:
httpRequest- the value for thehttpRequestrecord 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 thehttpRequestrecord component.- Returns:
- the value of the
httpRequestrecord component
-