HERE Android SDK Developer's Guide

AbstractRequest<T>

The class AbstractRequest<T> is a member of com.here.android.mpa.urbanmobility .

Type Parameters:

  • T

    specifies the type of the object returned when executing this request.

Class Summary

public abstract class AbstractRequest

extends java.lang.Object

Represents an abstract request and provides access to common request parameters.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in AbstractRequest<T>
Constructors

AbstractRequest ()

Method Summary

Table 2. Methods in AbstractRequest<T>
Methods

public boolean equals (Object o)

public void execute ()

Asynchronously retrieves a response for this request.

public int hashCode ()

public AbstractRequest<T> setClient (String client)

Sets the name of the client.

Class Details

Represents an abstract request and provides access to common request parameters. All setter methods return the current instance, so these calls can be chained.

IMPORTANT: Urban Mobility is a Beta feature. The related classes are subject to change without notice.

Constructor Details

AbstractRequest ()

Method Details

public boolean equals (Object o)

Parameters:

  • o

public void execute ()

Asynchronously retrieves a response for this request. Clients should provide a ResponseListener which will be called upon completion of the request.

public int hashCode ()

public AbstractRequest<T> setClient (String client)

Sets the name of the client. "unset" will be used if not set.

Parameters:

  • client

    name of the client

Returns:

this request instance