|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Headers
Represents the available headers on a message or message exchange.
Method Summary | |
---|---|
Headers |
copy()
Creates a copy of the headers so that we can append them to another exchange |
Object |
getHeader(String name)
Accesses a specific header |
Map<String,Object> |
getHeaders()
Returns all of the headers associated with the request |
void |
setHeader(String name,
Object value)
Sets a header on the exchange |
Method Detail |
---|
Object getHeader(String name)
name
-
void setHeader(String name, Object value)
name
- of the headervalue
- to associate with the nameMap<String,Object> getHeaders()
Headers copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |