|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.component.http.helper.HttpProducerHelper
public final class HttpProducerHelper
Helper methods for HTTP producers.
Method Summary | |
---|---|
static HttpMethods |
createMethod(Exchange exchange,
HttpEndpoint endpoint,
boolean hasPayload)
Creates the HttpMethod to use to call the remote server, often either its GET or POST. |
static String |
createURL(Exchange exchange,
HttpEndpoint endpoint)
Creates the URL to invoke. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String createURL(Exchange exchange, HttpEndpoint endpoint)
exchange
- the exchangeendpoint
- the endpoint
public static HttpMethods createMethod(Exchange exchange, HttpEndpoint endpoint, boolean hasPayload)
exchange
- the exchange
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |