Example usage for org.springframework.http HttpEntity subclass-usage

List of usage examples for org.springframework.http HttpEntity subclass-usage

Introduction

In this page you can find the example usage for org.springframework.http HttpEntity subclass-usage.

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&lt;String&gt; entity = template.getForEntity("http://example.com", String.class);