|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JettyHttpBinding
Jetty specific binding to parse the response when using JettyHttpProducer
| Method Summary | |
|---|---|
HeaderFilterStrategy |
getHeaderFilterStrategy()
Gets the header filter strategy |
boolean |
isThrowExceptionOnFailure()
Whether to throw HttpOperationFailedException
in case of response code != 200. |
void |
populateResponse(Exchange exchange,
JettyContentExchange httpExchange)
Parses the response from the Jetty client. |
void |
setHeaderFilterStrategy(HeaderFilterStrategy headerFilterStrategy)
Sets the header filter strategy to use. |
void |
setThrowExceptionOnFailure(boolean throwExceptionOnFailure)
Whether to throw HttpOperationFailedException
in case of response code != 200. |
| Method Detail |
|---|
void populateResponse(Exchange exchange,
JettyContentExchange httpExchange)
throws Exception
exchange - the Exchange which to populate with the responsehttpExchange - the response from the Jetty client
Exception - is thrown if error parsing responseHeaderFilterStrategy getHeaderFilterStrategy()
void setHeaderFilterStrategy(HeaderFilterStrategy headerFilterStrategy)
HttpHeaderFilterStrategy
headerFilterStrategy - the custom strategyvoid setThrowExceptionOnFailure(boolean throwExceptionOnFailure)
HttpOperationFailedException
in case of response code != 200.
throwExceptionOnFailure - true to throw exceptionboolean isThrowExceptionOnFailure()
HttpOperationFailedException
in case of response code != 200.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||