public final class HttpMethodHelper extends Object
Modifier and Type | Method and Description |
---|---|
static HttpMethods |
createMethod(org.apache.camel.Exchange exchange,
HttpEndpoint endpoint,
boolean hasPayload)
Creates the HttpMethod to use to call the remote server, often either its GET or POST.
|
public static HttpMethods createMethod(org.apache.camel.Exchange exchange, HttpEndpoint endpoint, boolean hasPayload) throws URISyntaxException
exchange
- the exchangeURISyntaxException
Apache Camel