|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.component.http4.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. |
static org.apache.http.HttpVersion |
parserHttpVersion(String s)
|
| 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
public static org.apache.http.HttpVersion parserHttpVersion(String s)
throws org.apache.http.ProtocolException
org.apache.http.ProtocolException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||