Hi,

SMX3 proposes a Marshaller class
(org.apache.servicemix.http.endpoints.DefaultHttpProviderMarshaler;) that we
can use to customize the request/response send over the HTTP Exchange
endpoint

In the class example, we can set the following  parameter :

httpExchange.addRequestHeader(HttpHeaders.HOST_BUFFER, new
ByteArrayBuffer(new URI(getLocationUri(exchange, inMsg)).getHost()));

What is the purpose of the HOST_BUFFER header property ?
Does it affect how the SSL stream connection is handled between the
client and the HTTP Server and content exchanged
(httpExchange.setRequestContent(new ByteArrayBuffer(sb.toString()));)
?
Does it affect how the nio buffer and its limit is used by Jetty
(http://jira.codehaus.org/browse/JETTY-1200) ?

Kind regards,


Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm

Reply via email to