|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RestClientHeaders
A @Rest interface implementing this interface will automatically have the implementations of these methods generated.
Method Summary | |
---|---|
String |
getCookie(String name)
Gets a cookie by name. |
String |
getHeader(String name)
Gets a header by name. |
void |
setAuthentication(org.springframework.http.HttpAuthentication auth)
Sets the authentication object. |
void |
setCookie(String name,
String value)
Sets a cookie by name. |
void |
setHeader(String name,
String value)
Sets a header by name. |
void |
setHttpBasicAuth(String user,
String password)
Sets the basic authentication user/password. |
Method Detail |
---|
String getCookie(String name)
name
-
void setCookie(String name, String value)
name
- value
- String getHeader(String name)
name
-
void setHeader(String name, String value)
name
- value
- void setAuthentication(org.springframework.http.HttpAuthentication auth)
auth
- void setHttpBasicAuth(String user, String password)
user
- password
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |