All Classes and Interfaces
Class
Description
Abstract base class for mapping between a Map of parameters and an object of type T.
Java-based configuration for the
geoclient-service application.Assertion class which abstracts use of existing assertion APIs from external
libraries.
Copy of methods in org.springframework.util.Assert class to allow this
framework to not depend on Spring.
Utility class with constants for the five boroughs of New York City and
methods for looking them up by code or name.
The Bronx (borough code 2, alias
BX).Brooklyn (borough code 3, alias
BK).Manhattan (borough code 1, alias
MN).Queens (borough code 4, alias
QN).Staten Island (borough code 5, aliases
SI and STATEN IS).Low level utility for checking the Geosupport return code directly from a
ByteBuffer.Fluent builders for assembling the argument map used to call a Geosupport
Function.Builder for address calls.
Base class for call builders.
The Class ChunkSpecParser parses textual metadata (typically from a
spec.xml file) to create ChunkSpec used to automate
configuration-driven gov.nyc.doitt.gis.geoclient.parser.Parser tests.The Class MutableToken.
The Class Range.
The Class TokenTypeOccurrence.
Enumeration of chunk types recognized by the Geoclient parser.
Class loading utilities.
Implemented by objects identified by a code.
A value with a code and a name.
Configuration information of
Function defaults and settings.Base RuntimeException for configuration-related errors.
Jackson binding for the
<configuration> element of a function, holding its required arguments.Provides a global exception handler that uses Spring's
RFC 9457
support.
Default implementation of the
Configuration interface.Core domain class representing a
WorkArea field within a fixed-length record.Comparator that compares fields based on their name, start, and length.
Comparator that compares fields based on their start and length.
Immutable data class for defining a set of field names associated with a
particular function.
Selectively converts field values returned by specific Geosupport functions.
Jackson binding for a
<field> element describing a field in a Geosupport work area.Information about a single Geosupport file as returned by Geosupport's HR
function.
Filter class that provides functionality to filter out fields returned by
by a
Function.Jackson binding for the top-level
<filters> element, a list of FilterXmls.Jackson binding for a
<filter> element.Interface representing a Geosupport function that can be executed with a
set of parameters.
Resolved configuration of a Geosupport function: its required arguments and the
WorkAreaXmls it uses.Jackson binding for the
<functions> element, a list of FunctionXmls.Jackson binding for a
<function> element.Defines Geoclient's public Java API for interacting with
JNI and
native C code linked to Geosupport native libraries.Default implementation class of the
Geoclient interface.Jackson binding for the root
<geoclient> element of the Geoclient XML configuration
file.Reads a
geoclient.xml configuration file into GeoclientXml.Implements CLI for using geoclient directly from the command line.
Configuration class for Geosupport, responsible for wiring the given
Geoclient instance with a reference to Geosupport
Functions.Default implementation of the
Function interface that represents a Geosupport function.Composed annotation indicating that this type or method invokes a
native JNI call to the
Geoclient C runtime and will only be enabled
on platforms supported by Geosupport.Framework-neutral SPI for invoking the NYC Geosupport functions required by
the single-field search pipeline.
Geoclient response value object.
Full Geosupport invocation API used by higher-level Geoclient components
(REST controllers, CLI, etc.).
Framework-neutral view of the collaborators that
GeosupportServiceImpl requires in order to invoke Geosupport
functions and assemble responses.Default implementation for making Geoclient calls to Geosupport.
Bean class for data returned by Geosupport function HR.
Maps the parameters returned by Geosupport function
HR to a
GeosupportVersion.Constants for the names of input parameters (i.e., argument map keys) and
their well-known values used when calling Geosupport functions.
Value class used to retain metadata about values used to create search
request arguments.
Provides default convenience methods for integration tests.
Exception indicating that one or more values on a
SearchParameters
instance are invalid.Indicates that the given street code is not valid.
Exception thrown when a
WorkArea has an invalid length.Acts as a read-only context object for accessing runtime properties and
platform-specific constants.
Used to determine the platform-specific name of a native library.
Builder class for creating a JniLibrary using a fluid-style construction.
Umbrella unchecked
RuntimeException for indicating problems loading
a native library.Intercepts all requests to check whether they need to be modified to
support legacy use of file extensions allowing clients to request supported
ContentTypes.Adapter to allow continued use of
.json and .xml
in request URLs for client specification of desired ContentType.Allows an external class (e.g., parent class or interface) to use an
object's
Logger at a given Level.Maps between Geosupport parameter
Maps (field name and value pairs)
and objects of type T.Registry of
Mappers keyed by mapper class.Thrown when mapping between parameters and objects fails.
Exception indicating both the borough and zip request parameters are missing
from the request.
Implemented by objects identified by a name.
Loads native shared libraries for use with the JNI API using
platform-specific logic.
Used to locate a platform-specific geoclient native library via the classpath
and copy it to a directory for use with System.load() which requires the
absolute path.
Operating system utilities.
Jackson binding for an
<outputFilters> element, which refers to or contains
FilterXmls.Constants for the names of output parameters (i.e., response map keys)
returned by Geosupport functions.
This class is not thread-safe.
Constants and interrogative methods for determining platform and whether it
is supported.
Jackson binding for a
<requiredArgument> element.Custom method implementation for use as a custom condition with
org.junit.jupiter.api.condition.EnabledIf.Empty class with no state or behavior.
Mapper for
ResponseStatus.Framework-neutral SPI for producing a
ResponseStatus from a raw
Geosupport work-area parameter map.Handles RESTful requests for Geosupport data.
Selected Geosupport return codes.
Adapter for using the Spring Framework web API for sanitizing request
parameters using a
Filter.Implementation of
HttpServletRequestWrapper adapted from this article
about sanitizing request parameters.Instances of this class are used to determine what constitutes an exact match
and how many levels of sub-searching may be performed when the initial search
criteria are rejected.
Types of Geoclient service responses.
A street identified by a Geosupport street code, a name, or both.
Similar to a
Street except adds additional semantics around code
length and the expectation of the first character representing a
Borough code.Constants representing Geosupport street codes.
Street name normalization formats supported by Geosupport.
String conversion utilities.
Represents thin file information returned by Geosupport's HR function.
Bean class representing a token within a chunk of parsed text.
Enumeration of token types recognized by the Geoclient parser.
Exception thrown when a requested Geosupport function is not found in the configuration.
Thrown when this library is run on an unsupported platform.
Versions of the Geoclient components and of the Geosupport installation in
use.
Customizes the default web configuration by implementing the Spring
WebMvcConfigurer interface.Represents a work area used in Geosupport function calls.
Jackson binding for a
<workAreaOne> or <workAreaTwo> element which refers to a
WorkAreaXml by identifier.Jackson binding for the
<workAreas> element, a list of WorkAreaXmls.Jackson binding for a
<workArea> element.Runtime exception thrown when an error occurs loading the XML configuration file.
Loads the specified configuraton file to create and register the core
Geoclient runtime API objects.