public interface IRequestContent
Modifier and Type | Field and Description |
---|---|
static String |
ACCEPT
The String: "Accept".
|
static String |
ACCEPT_CHARSET
The String: "Accept-Charset".
|
static String |
ACCEPT_ENCODING
The String: "Accept-Encoding".
|
static String |
CONTENT_LENGTH
The String: "Content-Length".
|
static String |
CONTENT_TYPE
The String: "Content-Type".
|
static String |
X_HTTP_METHOD_OVERRIDE
The String: "X-HTTP-Method-Override".
|
Modifier and Type | Method and Description |
---|---|
void |
onPostProcessRequest(RESTfulRequest request,
boolean doPerform)
Post-processes the request as required, typically to modify the URLConnection, called before the "connect"
method is called for URLConnection.
|
void |
onPreProcessRequest(RESTfulRequest request,
boolean doPerform)
Pre-processes the request as required, i.e.
|
static final String ACCEPT
static final String ACCEPT_CHARSET
static final String ACCEPT_ENCODING
static final String CONTENT_TYPE
static final String CONTENT_LENGTH
static final String X_HTTP_METHOD_OVERRIDE
void onPreProcessRequest(RESTfulRequest request, boolean doPerform) throws PropException, UnsupportedEncodingException, URISyntaxException
This call is done prior to establishing the URLConnection.
request
- The request.doPerform
- Flag to perform the transaction or false to test validity.PropException
- For property errors.UnsupportedEncodingException
- For unsupported encodings.URISyntaxException
- For URI syntax errors for parameters.UnsupportedEncodingException
- For unsupported encodings.void onPostProcessRequest(RESTfulRequest request, boolean doPerform) throws PropException, IOException, UnsupportedEncodingException
request
- The request.doPerform
- Flag to perform the transaction or false to test validity.PropException
- For property errors.IOException
- For I/O errors.UnsupportedEncodingException
- For unsupported encodings.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.