public class GeoApiContext
extends java.lang.Object
Construct this object by using the enclosed GeoApiContext.Builder.
When you are finished with a GeoApiContext object, you must call shutdown() on it to
release its resources.
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoApiContext.Builder
The Builder for
GeoApiContext. |
static interface |
GeoApiContext.RequestHandler
The service provider interface that enables requests to be handled via switchable back ends.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearExperienceId()
Clears the experience ID if set the HTTP header field
HttpHeaders.X_GOOG_MAPS_EXPERIENCE_ID will be omitted from subsequent calls. |
java.lang.String |
getExperienceId() |
void |
setExperienceId(java.lang.String... experienceId)
Sets the value for the HTTP header field name
HttpHeaders.X_GOOG_MAPS_EXPERIENCE_ID to
be used on subsequent API calls. |
void |
shutdown()
Shut down this GeoApiContext instance, reclaiming resources.
|
public void setExperienceId(java.lang.String... experienceId)
HttpHeaders.X_GOOG_MAPS_EXPERIENCE_ID to
be used on subsequent API calls. Calling this method with null is equivalent to calling
clearExperienceId().experienceId - The experience ID if set, otherwise nullpublic java.lang.String getExperienceId()
public void clearExperienceId()
HttpHeaders.X_GOOG_MAPS_EXPERIENCE_ID will be omitted from subsequent calls.public void shutdown()