Package com.openai.core.http
        Interface HttpResponse
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            java.lang.AutoCloseable
 
 public interface HttpResponse implements AutoCloseable 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public interfaceHttpResponse.Handler
 - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract IntegerstatusCode()abstract Headersheaders()Optional<String>requestId()Returns the value of the x-request-idheader, or an empty Optional if there's no such header in the response.abstract InputStreambody()abstract Unitclose()Overridden from AutoCloseable to not have a checked exception in its signature. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        statusCodeabstract Integer statusCode() 
 - 
                                        requestIdOptional<String> requestId() Returns the value of the x-request-idheader, or an empty Optional if there's no such header in the response.
 - 
                                        bodyabstract InputStream body() 
 - 
                                        closeabstract Unit close() Overridden from AutoCloseable to not have a checked exception in its signature. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-