Class SessionServiceImpl
- 
                    
                    
- All Implemented Interfaces:
 - 
                            
                            
com.openai.services.blocking.beta.chatkit.SessionService 
public final class SessionServiceImpl implements SessionService
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionServiceImpl.WithRawResponseImpl 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description SessionService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. SessionServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. ChatSessioncreate(SessionCreateParams params, RequestOptions requestOptions)ChatSessioncancel(SessionCancelParams params, RequestOptions requestOptions)- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withRawResponse
SessionService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
 
- 
                                        
withOptions
SessionService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
 
- 
                                        
create
ChatSession create(SessionCreateParams params, RequestOptions requestOptions)
 
- 
                                        
cancel
ChatSession cancel(SessionCancelParams params, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -