camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Gardner <ryeb...@gmail.com>
Subject thoughts on the method names for the requestBody and requestBodyAndHeader etc
Date Sat, 04 Apr 2009 06:38:24 GMT
The requestBody method makes sense (it requests a body) - but  
"requestBodyAndHeader" and "requestBodyAndHeaders" etc methods make  
less sense - because I'm only requesting one thing (the body).

maybe "requestBodyWithHeader" makes more sense? for the  
"sendBodyAndHeader" methods, it makes sense because you are sending  
two things (the body and the header)

although, perhaps I'm just going crazy?

Ryan

Mime
View raw message