Deprecated. since 3.0, Use com.sap.mobile.lib.request.IRequest Interface for requests.
All members of ISDMRequest, including inherited members.
VariablesModifier and Type | Variable | Description |
---|---|---|
public static final int | ETAG_IF_MATCH | etag "if-match" |
public static final int | ETAG_IF_NONE_MATCH | etag "if-none-match" |
public static final int | ETAG_IF_RANGE | etag "if-range" |
public static final int | PRIORITY_HIGH | High priority. |
public static final int | PRIORITY_NORMAL | Normal priority. |
public static final int | REQUEST_METHOD_DELETE | HTTP DELETE method. |
public static final int | REQUEST_METHOD_GET | HTTP GET method. |
public static final int | REQUEST_METHOD_POST | HTTP POST method. |
public static final int | REQUEST_METHOD_PUT | HTTP PUT method. |
Modifier and Type | Method | Description |
---|---|---|
public byte[] | getData() | If the request method is POST, this method is called from the network library. |
public InputStream | getDataStream() | If the request method is POST, this method is called from the network library. |
public Object | getE2eRequest() | Get the iRequest object from the ISDMRequest. |
public Map< String, String > | getHeaders() | Returns the request headers set. |
public ISDMNetListener | getListener() | Returns the listener to be used by the connectivity library to notify the registered listener about a successful or failed request operation. |
public String | getPassport() | |
public int | getPriority() | Returns the priority of the request. |
public int | getRequestMethod() | Returns the request method. |
public String | getRequestUrl() | Returns the URL where the request must be done. |
public String | getTransId() | |
public boolean | isStreamEnabled() | |
public void | setData(byte[]) | Set the request data in case of POST request. |
public void | setDataStream(InputStream) | Set the request data stream in case of POST request. |
public void | setE2eRequest(Object) | Set the iRequest object into the ISDMRequest. |
public void | setHeaders(Map< String, String >) | Set the request headers. |
public void | setListener(final ISDMNetListener) | Client can register listeners to be used by the connectivity layer to notify the implementation about the result of the request. |
public void | setPassport(String) | |
public void | setPriority(final int) | Sets the priority of the request. |
public void | setRequestMethod(final int) | Sets the request method. |
public void | setRequestUrl(final String) | Sets the URL for the request. |
public void | setStreamEnabled(boolean) | Used to enable streaming of data when the size of the data to be fetched is greater than 200KB. |
public void | setTransId(String) | |
public boolean | useCookies() | This method is used by the network library to check whether it has to send cookies to the server when the current request is performed. |
All request objects must implement this interface. The network layer uses this interface to interact with the request objects