This class represents the need for receiving push messages.
All members of PushRequest, including inherited members.
VariablesModifier and Type | Variable | Description |
---|---|---|
String | blobId | |
boolean | isPersistRequest |
Modifier and Type | Method | Description |
---|---|---|
public void | disableDeltaHandling(boolean) | Disables delta query handling. |
public byte[] | getData() | If the request method is POST, this method is called from the network library. |
public Map< String, String > | getHeaders() | Returns the request headers set. |
public INetListener | getListener() | Returns the listener to be used by the connectivity library to notify the registered listener about a successful or failed request operation. |
public int | getPriority() | Returns the priority of the request. |
public int | getRequestMethod() | Retrieves the request method type. |
public String | getRequestUrl() | Returns the URL where the request must be invoked. |
public boolean | isDeltaHandlingDisabled() | internal |
public void | setData(byte[]) | Sets the request data in case of an HTTP POST request. |
public void | setHeaders(Map< String, String >) | Sets the request headers. |
public void | setListener(INetListener) | |
public void | setPriority(int) | |
public void | setRequestMethod(int) | |
public void | setRequestUrl(String) | |
public boolean | useCookies() | Network library uses this method to check whether it has to send cookies to the server when the current request is performed. |
Modifier and Type | Member | 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. |
public void | setListener(final INetListener) | Client can register listeners to be used by the connectivity layer to notify the implementation about the result of the request. |
public void | setPriority(final int) | Sets the priority of the request. |
public void | setRequestMethod(final int) | Sets the type of HTTP request method. |
public void | setRequestUrl(final String) | Sets the URL for the request. |
Only an INetListener property is stored, who will receive the push messages. AbstractConnectionHandler implementation should store and use this listener for delivering push messages.