Package io.freefair.spring.okhttp.client
Class OkHttpClientRequest
java.lang.Object
org.springframework.http.client.AbstractClientHttpRequest
io.freefair.spring.okhttp.client.OkHttpClientRequest
- All Implemented Interfaces:
- ClientHttpRequest,- HttpMessage,- HttpOutputMessage,- HttpRequest,- StreamingHttpOutputMessage
public class OkHttpClientRequest
extends AbstractClientHttpRequest
implements StreamingHttpOutputMessage
OkHttp based 
ClientHttpRequest implementation.- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.springframework.http.StreamingHttpOutputMessageStreamingHttpOutputMessage.Body
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected ClientHttpResponseexecuteInternal(HttpHeaders headers) protected OutputStreamgetBodyInternal(HttpHeaders headers) getURI()voidMethods inherited from class org.springframework.http.client.AbstractClientHttpRequestassertNotExecuted, execute, getAttributes, getBody, getHeadersMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.HttpMessagegetHeadersMethods inherited from interface org.springframework.http.HttpOutputMessagegetBody
- 
Constructor Details- 
OkHttpClientRequest
 
- 
- 
Method Details- 
getMethod- Specified by:
- getMethodin interface- HttpRequest
 
- 
getURI- Specified by:
- getURIin interface- HttpRequest
 
- 
setBody- Specified by:
- setBodyin interface- StreamingHttpOutputMessage
 
- 
getBodyInternal- Specified by:
- getBodyInternalin class- AbstractClientHttpRequest
 
- 
executeInternal- Specified by:
- executeInternalin class- AbstractClientHttpRequest
- Throws:
- IOException
 
 
-