org.androidannotations.api.rest
Interface RestClientSupport


public interface RestClientSupport

A @Rest interface implementing this interface will automatically have the implementations of these methods generated.


Method Summary
 org.springframework.web.client.RestTemplate getRestTemplate()
          Gets the rest template used by the rest service implementation.
 void setRestTemplate(org.springframework.web.client.RestTemplate rt)
          Sets the rest template used by the rest service implementation.
 

Method Detail

getRestTemplate

org.springframework.web.client.RestTemplate getRestTemplate()
Gets the rest template used by the rest service implementation.

Returns:
RestTemplate

setRestTemplate

void setRestTemplate(org.springframework.web.client.RestTemplate rt)
Sets the rest template used by the rest service implementation.

Parameters:
rt -


Copyright © 2010-2014. All Rights Reserved.