Package | Description |
---|---|
org.springframework.test.web.client |
Contains client-side REST testing support.
|
org.springframework.web.client |
Core package of the client-side web support.
|
org.springframework.web.client.support |
Classes supporting the
org.springframework.web.client package. |
Class and Description |
---|
RestTemplate
Spring's central class for client-side HTTP access.
It simplifies communication with HTTP servers, and enforces RESTful principles.
|
Class and Description |
---|
HttpStatusCodeException
Abstract base class for exceptions based on an
HttpStatus . |
RequestCallback
Callback interface for code that operates on a
ClientHttpRequest . |
ResponseErrorHandler
Strategy interface used by the
RestTemplate to determine whether a particular response has an error or not. |
ResponseExtractor
Generic callback interface used by
RestTemplate 's retrieval methods
Implementations of this interface perform the actual work of extracting data
from a ClientHttpResponse , but don't need to worry about exception
handling or closing resources. |
RestClientException
Base class for exceptions thrown by
RestTemplate whenever it encounters
client-side HTTP errors. |
RestOperations
Interface specifying a basic set of RESTful operations.
|
Class and Description |
---|
RestTemplate
Spring's central class for client-side HTTP access.
It simplifies communication with HTTP servers, and enforces RESTful principles.
|
Copyright © 2015. All rights reserved.