public class GeoApiContext
extends java.lang.Object
implements java.io.Closeable
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 |
close()
standard Java API to reclaim resources
|
void |
shutdown()
Shut down this GeoApiContext instance, reclaiming resources.
|
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void shutdown()