Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public class HttpEntity<T>
- Object
- HttpEntity
Known subtypesResponseEntity
A body and its headers, for
TestRestTemplate.exchange.Constructors
public HttpEntity(T body) | |
public HttpEntity(HttpHeaders headers) | |
public HttpEntity(T body, HttpHeaders headers) |
Methods
public T getBody() | |
public HttpHeaders getHeaders() | |
public boolean hasBody() |
Inherited methods
Constructor details
HttpEntity
public HttpEntity(T body)HttpEntity
public HttpEntity(HttpHeaders headers)HttpEntity
public HttpEntity(T body, HttpHeaders headers)Method details
getBody
public T getBody()getHeaders
public HttpHeaders getHeaders()hasBody
public boolean hasBody()