Package com.openai.core.http
        Interface HttpRequestBody
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            java.lang.AutoCloseable
 
 public interface HttpRequestBody implements AutoCloseable 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract UnitwriteTo(OutputStream outputStream)abstract StringcontentType()abstract LongcontentLength()abstract Booleanrepeatable()Determines if a request can be repeated in a meaningful way, for example before doing a retry. abstract Unitclose()Overridden from AutoCloseable to not have a checked exception in its signature. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        writeToabstract Unit writeTo(OutputStream outputStream) 
 - 
                                        contentTypeabstract String contentType() 
 - 
                                        contentLengthabstract Long contentLength() 
 - 
                                        repeatableabstract Boolean repeatable() Determines if a request can be repeated in a meaningful way, for example before doing a retry. The most typical case when a request can't be retried is if the request body is being streamed. In this case the body data isn't available on subsequent attempts. 
 - 
                                        closeabstract Unit close() Overridden from AutoCloseable to not have a checked exception in its signature. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-