List of usage examples for org.springframework.http HttpEntity subclass-usage
From source file org.spearal.spring.rest.SpearalEntity.java
/** * Spearal entity * * @author William DRAI */ public class SpearalEntity<T> extends HttpEntity<T> {
From source file com.unioncast.mv.spring.ResponseEntity.java
/**
* Extension of {@link HttpEntity} that adds a {@link HttpStatus} status code.
*
* <p>Returned by {@link org.springframework.web.client.RestTemplate#getForEntity}:
* <pre class="code">
* ResponseEntity<String> entity = template.getForEntity("http://example.com", String.class);