public class HttpEntityBuilder extends Object
Constructor and Description |
---|
HttpEntityBuilder() |
HttpEntityBuilder(RestCaller parent) |
Modifier and Type | Method and Description |
---|---|
HttpEntityBuilder |
body(Object body)
Set the entity body
|
<T> org.springframework.http.HttpEntity<T> |
build()
Build HttpEntity object
|
RestCaller |
done()
Finish setting up properties and back to parent
|
HttpHeadersBuilder |
header()
Create a HttpHeaders builder
|
public HttpEntityBuilder()
public HttpEntityBuilder(RestCaller parent)
public HttpHeadersBuilder header()
public HttpEntityBuilder body(Object body)
body
- the entity bodypublic RestCaller done()
public <T> org.springframework.http.HttpEntity<T> build()
Copyright © 2012–2016 Young Monkeys. All rights reserved.