Package httpclient
Class HttpCallRequest
java.lang.Object
httpclient.HttpCallRequest
-
Constructor Summary
ConstructorsConstructorDescriptionHttpCallRequest(HttpClient http) HttpCallRequest(HttpClient http, HeaderStrategy silentRemoveNullHeaders) HttpCallRequest(HttpClient http, Serializers serializers, HeaderStrategy headerStrategy) -
Method Summary
Modifier and TypeMethodDescriptionbody(RequestBody requestBody) contentType(String type) delete()execute()get()head()patch()port(int port) post()put()<U> HttpResponse<U>send(HttpResponse.BodyHandler<U> handler)
-
Constructor Details
-
HttpCallRequest
-
HttpCallRequest
-
HttpCallRequest
-
-
Method Details
-
scheme
-
hostname
-
port
-
uri
-
uri
-
method
-
method
-
get
-
get
-
delete
-
delete
-
head
-
head
-
post
-
post
-
put
-
put
-
patch
-
patch
-
header
-
contentType
-
body
-
body
-
body
-
execute
- Throws:
IOException
-
send
- Throws:
IOException
-