Index

A B C D E F H I L M O P Q R S T U V W X Z 
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 as record 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 asname record 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 /batch request 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 BatchQuery record 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 city record 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 continent record 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 continentCode record component.
country() - Method in record class rs.adsdev.ifconfig.client.IpInfo
Returns the value of the country record 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 countryCode record component.
currency() - Method in record class rs.adsdev.ifconfig.client.IpInfo
Returns the value of the currency record 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 district record 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 /json responses, mirroring the server's FlatField registry.
fieldBits() - Method in class rs.adsdev.ifconfig.client.IfconfigClient
GET /api/fields — returns the canonical map of wire field name → ?fields=N bit position.
fields() - Method in record class rs.adsdev.ifconfig.client.BatchQuery
Returns the value of the fields record 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 hosting record 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 HttpClient instead 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 /batch responses.
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 IpInfo record class.
isp() - Method in record class rs.adsdev.ifconfig.client.IpInfo
Returns the value of the isp record 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 lat record 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 lon record 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 message record 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 mobile record 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 offset record 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 org record 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 proxy record 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 query record component.
query() - Method in record class rs.adsdev.ifconfig.client.IpInfo
Returns the value of the query record 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 region record 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 regionName record 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 reverse record 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 status record 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 timezone record 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-Agent header 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 zip record component.
ZIP - Enum constant in enum class rs.adsdev.ifconfig.client.Field
 
A B C D E F H I L M O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Serialized Form