Index
All Classes and Interfaces|All Packages|Serialized Form
A
- apiKey(String) - Method in class rs.adsdev.ifconfig.client.IfconfigClient.Builder
-
API key sent as
Authorization: Bearer <key>. - as() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
asrecord component. - AS - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- asname() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
asnamerecord component. - ASNAME - Enum constant in enum class rs.adsdev.ifconfig.client.Field
B
- baseUrl(String) - Method in class rs.adsdev.ifconfig.client.IfconfigClient.Builder
-
Base URL of the ifconfig service.
- batch(List<BatchQuery>) - Method in class rs.adsdev.ifconfig.client.IfconfigClient
-
POST /batch— looks up multiple addresses in a single round-trip. - BatchQuery - Record Class in rs.adsdev.ifconfig.client
-
One entry in a
POST /batchrequest body. - BatchQuery(String) - Constructor for record class rs.adsdev.ifconfig.client.BatchQuery
- BatchQuery(String, String) - Constructor for record class rs.adsdev.ifconfig.client.BatchQuery
-
Creates an instance of a
BatchQueryrecord class. - bit() - Method in enum class rs.adsdev.ifconfig.client.Field
- body() - Method in exception class rs.adsdev.ifconfig.client.IfconfigException
- build() - Method in class rs.adsdev.ifconfig.client.IfconfigClient.Builder
- builder() - Static method in class rs.adsdev.ifconfig.client.IfconfigClient
C
- city() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
cityrecord component. - CITY - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- connectTimeout(Duration) - Method in class rs.adsdev.ifconfig.client.IfconfigClient.Builder
-
TCP connect timeout for the default
HttpClient. - continent() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
continentrecord component. - CONTINENT - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- CONTINENT_CODE - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- continentCode() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
continentCoderecord component. - country() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
countryrecord component. - COUNTRY - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- COUNTRY_CODE - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- countryCode() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
countryCoderecord component. - currency() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
currencyrecord component. - CURRENCY - Enum constant in enum class rs.adsdev.ifconfig.client.Field
D
- district() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
districtrecord component. - DISTRICT - Enum constant in enum class rs.adsdev.ifconfig.client.Field
E
- equals(Object) - Method in record class rs.adsdev.ifconfig.client.BatchQuery
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Indicates whether some other object is "equal to" this one.
F
- Field - Enum Class in rs.adsdev.ifconfig.client
-
The set of top-level wire fields available on
/jsonresponses, mirroring the server'sFlatFieldregistry. - fieldBits() - Method in class rs.adsdev.ifconfig.client.IfconfigClient
-
GET /api/fields— returns the canonical map of wire field name →?fields=Nbit position. - fields() - Method in record class rs.adsdev.ifconfig.client.BatchQuery
-
Returns the value of the
fieldsrecord component.
H
- hashCode() - Method in record class rs.adsdev.ifconfig.client.BatchQuery
-
Returns a hash code value for this object.
- hashCode() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns a hash code value for this object.
- hosting() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
hostingrecord component. - HOSTING - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- httpClient(HttpClient) - Method in class rs.adsdev.ifconfig.client.IfconfigClient.Builder
-
Use a caller-supplied
HttpClientinstead of the default.
I
- IfconfigClient - Class in rs.adsdev.ifconfig.client
-
Client for the ifconfig.rs IP / geo lookup service.
- IfconfigClient.Builder - Class in rs.adsdev.ifconfig.client
- IfconfigException - Exception Class in rs.adsdev.ifconfig.client
-
Thrown when the ifconfig service returns a non-2xx response, or when the request fails at the transport / serialization layer.
- IfconfigException(String, int, String) - Constructor for exception class rs.adsdev.ifconfig.client.IfconfigException
- IfconfigException(String, Throwable) - Constructor for exception class rs.adsdev.ifconfig.client.IfconfigException
- IpInfo - Record Class in rs.adsdev.ifconfig.client
-
Flat response shape from
/json,/xml, and per-item/batchresponses. - IpInfo(String, String, String, String, String, String, String, String, String, String, String, String, Double, Double, String, Integer, String, String, String, String, String, String, Boolean, Boolean, Boolean) - Constructor for record class rs.adsdev.ifconfig.client.IpInfo
-
Creates an instance of a
IpInforecord class. - isp() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
isprecord component. - ISP - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- isSuccess() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Convenience predicate: did the server report a successful lookup?
L
- lat() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
latrecord component. - LAT - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- lon() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
lonrecord component. - LON - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- lookup(String) - Method in class rs.adsdev.ifconfig.client.IfconfigClient
-
GET /json?ip=...— returns geo info for the supplied IPv4 / IPv6 literal. - lookup(String, Collection<Field>) - Method in class rs.adsdev.ifconfig.client.IfconfigClient
-
GET /json?ip=...&fields=...— restricts the response to the requested fields.
M
- message() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
messagerecord component. - MESSAGE - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- mobile() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
mobilerecord component. - MOBILE - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- myIp() - Method in class rs.adsdev.ifconfig.client.IfconfigClient
-
GET /json— returns geo info for the caller's own IP.
O
- objectMapper(ObjectMapper) - Method in class rs.adsdev.ifconfig.client.IfconfigClient.Builder
-
Use a caller-supplied
ObjectMapper. - offset() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
offsetrecord component. - OFFSET - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- org() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
orgrecord component. - ORG - Enum constant in enum class rs.adsdev.ifconfig.client.Field
P
- plain() - Method in class rs.adsdev.ifconfig.client.IfconfigClient
-
GET /plain— returns the caller's own IP as plain text. - proxy() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
proxyrecord component. - PROXY - Enum constant in enum class rs.adsdev.ifconfig.client.Field
Q
- query() - Method in record class rs.adsdev.ifconfig.client.BatchQuery
-
Returns the value of the
queryrecord component. - query() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
queryrecord component. - QUERY - Enum constant in enum class rs.adsdev.ifconfig.client.Field
R
- region() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
regionrecord component. - REGION - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- REGION_NAME - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- regionName() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
regionNamerecord component. - requestTimeout(Duration) - Method in class rs.adsdev.ifconfig.client.IfconfigClient.Builder
-
Per-request timeout (read and response).
- reverse() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
reverserecord component. - REVERSE - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- rs.adsdev.ifconfig.client - package rs.adsdev.ifconfig.client
S
- status() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
statusrecord component. - STATUS - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- statusCode() - Method in exception class rs.adsdev.ifconfig.client.IfconfigException
T
- timezone() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
timezonerecord component. - TIMEZONE - Enum constant in enum class rs.adsdev.ifconfig.client.Field
- toBitmask(Collection<Field>) - Static method in enum class rs.adsdev.ifconfig.client.Field
-
ORs the bits of a collection of fields into a single integer, suitable for passing as
?fields=N. - toQuery(Collection<Field>) - Static method in enum class rs.adsdev.ifconfig.client.Field
-
Joins the wire names of a collection of fields with commas, suitable for passing as
?fields=country,city,isp. - toString() - Method in record class rs.adsdev.ifconfig.client.BatchQuery
-
Returns a string representation of this record class.
- toString() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns a string representation of this record class.
U
- userAgent(String) - Method in class rs.adsdev.ifconfig.client.IfconfigClient.Builder
-
Overrides the
User-Agentheader on every request.
V
- valueOf(String) - Static method in enum class rs.adsdev.ifconfig.client.Field
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class rs.adsdev.ifconfig.client.Field
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- wireName() - Method in enum class rs.adsdev.ifconfig.client.Field
X
- xml(String) - Method in class rs.adsdev.ifconfig.client.IfconfigClient
-
GET /xml?ip=...— returns the raw XML payload for the supplied IP.
Z
- zip() - Method in record class rs.adsdev.ifconfig.client.IpInfo
-
Returns the value of the
ziprecord component. - ZIP - Enum constant in enum class rs.adsdev.ifconfig.client.Field
All Classes and Interfaces|All Packages|Serialized Form