|
Spring for Android | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.web.client.support.RestGatewaySupport
public class RestGatewaySupport
Convenient super class for application classes that need REST access.
Requires a ClientHttpRequestFactory
or a RestTemplate
instance to be set.
setRestTemplate(org.springframework.web.client.RestTemplate)
,
RestTemplate
Constructor Summary | |
---|---|
RestGatewaySupport()
Construct a new instance of the RestGatewaySupport , with default parameters. |
|
RestGatewaySupport(ClientHttpRequestFactory requestFactory)
Construct a new instance of the RestGatewaySupport , with the given ClientHttpRequestFactory . |
Method Summary | |
---|---|
RestTemplate |
getRestTemplate()
Returns the RestTemplate for the gateway. |
void |
setRestTemplate(RestTemplate restTemplate)
Sets the RestTemplate for the gateway. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RestGatewaySupport()
RestGatewaySupport
, with default parameters.
public RestGatewaySupport(ClientHttpRequestFactory requestFactory)
RestGatewaySupport
, with the given ClientHttpRequestFactory
.
RestTemplate.RestTemplate(ClientHttpRequestFactory)
Method Detail |
---|
public void setRestTemplate(RestTemplate restTemplate)
RestTemplate
for the gateway.
public RestTemplate getRestTemplate()
RestTemplate
for the gateway.
|
Spring for Android | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |