Package com.openai.services.blocking
        Class WebhookServiceImpl
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            com.openai.services.blocking.WebhookService
 
 public final class WebhookServiceImpl implements WebhookService 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classWebhookServiceImpl.WithRawResponseImpl
 - 
                                
                            
                                Method SummaryModifier and Type Method Description WebhookService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. WebhookServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. UnwrapWebhookEventunwrap(WebhookVerificationParams params)Validates that the given payload was sent by OpenAI and parses the payload. UnitverifySignature(WebhookVerificationParams params)Validates whether or not the webhook payload was sent by OpenAI. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        withRawResponseWebhookService.WithRawResponse withRawResponse() Returns a view of this service that provides access to raw HTTP responses for each method. 
 - 
                                        withOptionsWebhookService withOptions(Consumer<ClientOptions.Builder> modifier) Returns a view of this service with the given option modifications applied. The original service is not modified. 
 - 
                                        unwrapUnwrapWebhookEvent unwrap(WebhookVerificationParams params) Validates that the given payload was sent by OpenAI and parses the payload. - Parameters:
- params- Verification parameters including payload, headers, secret and tolerance
- Returns:
- The parsed webhook event 
 
 - 
                                        verifySignatureUnit verifySignature(WebhookVerificationParams params) Validates whether or not the webhook payload was sent by OpenAI. - Parameters:
- params- Verification parameters including payload, headers, secret and tolerance
 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-