|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpBaseRequest<Q extends HttpBaseRequest<?,?>,R extends ConnectorResponse>
| Field Summary | |
|---|---|
static String |
HEADER_CONTENT_TYPE
|
static String |
PARAM_NAME_REQUEST_HEADERS
|
static String |
PARAM_NAME_REQUEST_METHOD
|
static String |
PARAM_NAME_REQUEST_PAYLOAD
|
static String |
PARAM_NAME_REQUEST_URL
|
| Method Summary | |
|---|---|
Q |
contentType(String contentType)
Set the content type header for this request. |
String |
getContentType()
|
String |
getHeader(String field)
|
Map<String,String> |
getHeaders()
|
String |
getMethod()
|
String |
getPayload()
|
String |
getUrl()
|
Q |
header(String field,
String value)
Set a HTTP header for this request. |
Q |
method(String method)
Sets the method of this request. |
Q |
payload(String payload)
Set the payload of this request. |
Q |
url(String url)
Set the url of this request. |
| Methods inherited from interface org.camunda.connect.spi.ConnectorRequest |
|---|
execute, getRequestParameter, getRequestParameters, setRequestParameter, setRequestParameters |
| Field Detail |
|---|
static final String PARAM_NAME_REQUEST_URL
static final String PARAM_NAME_REQUEST_HEADERS
static final String PARAM_NAME_REQUEST_METHOD
static final String PARAM_NAME_REQUEST_PAYLOAD
static final String HEADER_CONTENT_TYPE
| Method Detail |
|---|
Q url(String url)
url - the url to set
String getUrl()
Q header(String field,
String value)
field - HTTP header fieldvalue - HTTP header value
String getHeader(String field)
Map<String,String> getHeaders()
Q contentType(String contentType)
contentType - the content type
String getContentType()
Q payload(String payload)
payload - the payload to set
String getPayload()
Q method(String method)
method - the method to set
String getMethod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||