diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 5e21f12..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-language: java
-
-jdk:
- - oraclejdk8
- - oraclejdk10
-
-install:
- - mvn -B install -U
-
-after_success:
- - util/deploy_snapshot.sh
- - util/deploy_docs.sh
-
-branches:
- only:
- - master
-
-cache:
- directories:
- - $HOME/.m2
-
-
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index f49a4e1..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
\ No newline at end of file
diff --git a/README.md b/README.md
deleted file mode 100644
index b9174e6..0000000
--- a/README.md
+++ /dev/null
@@ -1,78 +0,0 @@
-# Java IPinfo
-[](LICENSE)
-[](https://travis-ci.com/ipinfo/java-ipinfo)
-
-An official java wrapper around IPinfo's API.
-
-## Features:
-- IP Lookup
-- ASN Lookup
-
-## Using it
-
-### Maven
-
-```xml
-
- io.ipinfo
- java-ipinfo
- 1.0
- compile
-
-```
-
-### Examples
-
-To get information about an IP:
-
-````java
-import io.ipinfo.IPInfo;
-import io.ipinfo.errors.RateLimitedException;
-import io.ipinfo.model.IPResponse;
-
-public class Main {
-
- public static void main(String... args) {
- IPInfo ipInfo = IPInfo.builder().setToken("YOUR TOKEN").build();
-
- try {
- IPResponse response = ipInfo.lookupIP("8.8.8.8");
- } catch (RateLimitedException ex) {
- // Handle rate limits here.
- }
- }
-}
-````
-
-To get the information about an ASN:
-
-````java
-import io.ipinfo.IPInfo;
-import io.ipinfo.errors.RateLimitedException;
-import io.ipinfo.model.IPResponse;
-
-public class Main {
-
- public static void main(String... args) {
- IPInfo ipInfo = IPInfo.builder().setToken("YOUR TOKEN").build();
-
- try {
- ASNResponse response = ipInfo.lookupASN("AS7922");
- } catch (RateLimitedException ex) {
- // Handle rate limits here.
- }
- }
-}
-````
-
-### Errors
-
-- ErrorResponseException: A runtime exception accessible through the ExecutionException of a future. This exception signals that something went wrong when mapping the API response to the wrapper. You probably can't recover from this exception.
-
-- RateLimitedException A runtime exception signalling that you've been rate limited.
-
-## Extra Information
-
-- This library is thread safe. Feel free to call the different endpoints from different threads.
-- This library uses square's http client. Please refer to their documentation to get information on more functionality you can use.
-
diff --git a/allclasses-index.html b/allclasses-index.html
new file mode 100644
index 0000000..d30b985
--- /dev/null
+++ b/allclasses-index.html
@@ -0,0 +1,200 @@
+
+
+
+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+
Overview
+
The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+
+
+
Package
+
Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:
+
+
Interfaces
+
Classes
+
Enums
+
Exceptions
+
Errors
+
Annotation Types
+
+
+
+
Class or Interface
+
Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+
+
Class Inheritance Diagram
+
Direct Subclasses
+
All Known Subinterfaces
+
All Known Implementing Classes
+
Class or Interface Declaration
+
Class or Interface Description
+
+
+
+
Nested Class Summary
+
Field Summary
+
Property Summary
+
Constructor Summary
+
Method Summary
+
+
+
+
Field Details
+
Property Details
+
Constructor Details
+
Method Details
+
+
The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+
+
+
Annotation Type
+
Each annotation type has its own separate page with the following sections:
+
+
Annotation Type Declaration
+
Annotation Type Description
+
Required Element Summary
+
Optional Element Summary
+
Element Details
+
+
+
+
Enum
+
Each enum has its own separate page with the following sections:
+
+
Enum Declaration
+
Enum Description
+
Enum Constant Summary
+
Enum Constant Details
+
+
+
+
Use
+
Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its "Use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+
+
+
Tree (Class Hierarchy)
+
There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.
+
+
When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
+
When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
+
+
+
+
Deprecated API
+
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to shortcomings, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+
+
+
Index
+
The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.
+
+
+
Serialized Form
+
Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.
You can search for definitions of modules, packages, types, fields, methods, system properties and other terms defined in the API, using some or all of the name, optionally using "camel-case" abbreviations. For example:
+
+
j.l.obj will match "java.lang.Object"
+
InpStr will match "java.io.InputStream"
+
HM.cK will match "java.util.HashMap.containsKey(Object)"
batchSize is the internal batch size used per API request; the IPinfo
+ API has a maximum batch size, but the batch request functions available
+ in this library do not.
batchSize is the internal batch size used per API request; the IPinfo
+ API has a maximum batch size, but the batch request functions available
+ in this library do not.
batchSize is the internal batch size used per API request; the IPinfo
+ API has a maximum batch size, but the batch request functions available
+ in this library do not. Therefore the library chunks the input slices
+ internally into chunks of size `batchSize`, clipping to the maximum
+ allowed by the IPinfo API.
+
+ 0 means to use the default batch size which is the max allowed by the
+ IPinfo API.
timeoutPerBatch is the timeout in seconds that each batch of size
+ `BatchSize` will have for its own request.
+
+ 0 means to use a default of 5 seconds; any negative number will turn it
+ off; turning it off does _not_ disable the effects of `timeoutTotal`.
timeoutTotal is the total timeout in seconds for all batch requests in a
+ batch request function to complete.
+
+ 0 means no total timeout; `timeoutPerBatch` will still apply.
batchSize is the internal batch size used per API request; the IPinfo
+ API has a maximum batch size, but the batch request functions available
+ in this library do not.
+
+
diff --git a/jquery-ui.overrides.css b/jquery-ui.overrides.css
new file mode 100644
index 0000000..f89acb6
--- /dev/null
+++ b/jquery-ui.overrides.css
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+.ui-state-active,
+.ui-widget-content .ui-state-active,
+.ui-widget-header .ui-state-active,
+a.ui-button:active,
+.ui-button:active,
+.ui-button.ui-state-active:hover {
+ /* Overrides the color of selection used in jQuery UI */
+ background: #F8981D;
+}
diff --git a/member-search-index.js b/member-search-index.js
new file mode 100644
index 0000000..e16aa2d
--- /dev/null
+++ b/member-search-index.js
@@ -0,0 +1 @@
+memberSearchIndex = [{"p":"io.ipinfo.api.model","c":"Abuse","l":"Abuse(String, String, String, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)"},{"p":"io.ipinfo.api.model","c":"ASN","l":"ASN(String, String, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)"},{"p":"io.ipinfo.api.request","c":"ASNRequest","l":"ASNRequest(OkHttpClient, String, String)","u":"%3Cinit%3E(okhttp3.OkHttpClient,java.lang.String,java.lang.String)"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"ASNResponse(String, String, String, String, String, String, Integer, String, List, List, List, List, List)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.lang.String,java.util.List,java.util.List,java.util.List,java.util.List,java.util.List)"},{"p":"io.ipinfo.api.request","c":"BaseRequest","l":"BaseRequest(OkHttpClient, String)","u":"%3Cinit%3E(okhttp3.OkHttpClient,java.lang.String)"},{"p":"io.ipinfo.api","c":"IPinfo.BatchReqOpts","l":"BatchReqOpts(int, int, int, boolean)","u":"%3Cinit%3E(int,int,int,boolean)"},{"p":"io.ipinfo.api","c":"IPinfo.BatchReqOpts","l":"batchSize"},{"p":"io.ipinfo.api","c":"IPinfo.BatchReqOpts.Builder","l":"build()"},{"p":"io.ipinfo.api","c":"IPinfo.Builder","l":"build()"},{"p":"io.ipinfo.api","c":"IPinfo.BatchReqOpts.Builder","l":"Builder()","u":"%3Cinit%3E()"},{"p":"io.ipinfo.api","c":"IPinfo.Builder","l":"Builder()","u":"%3Cinit%3E()"},{"p":"io.ipinfo.api","c":"IPinfo","l":"cacheKey(String)","u":"cacheKey(java.lang.String)"},{"p":"io.ipinfo.api.model","c":"Carrier","l":"Carrier(String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String)"},{"p":"io.ipinfo.api.cache","c":"Cache","l":"clear()"},{"p":"io.ipinfo.api.cache","c":"NoCache","l":"clear()"},{"p":"io.ipinfo.api.cache","c":"SimpleCache","l":"clear()"},{"p":"io.ipinfo.api.model","c":"Company","l":"Company(String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String)"},{"p":"io.ipinfo.api.context","c":"Context","l":"Context(Map)","u":"%3Cinit%3E(java.util.Map)"},{"p":"io.ipinfo.api.model","c":"Domains","l":"Domains(String, List)","u":"%3Cinit%3E(java.lang.String,java.util.List)"},{"p":"io.ipinfo.api.errors","c":"ErrorResponseException","l":"ErrorResponseException()","u":"%3Cinit%3E()"},{"p":"io.ipinfo.api.errors","c":"ErrorResponseException","l":"ErrorResponseException(Exception)","u":"%3Cinit%3E(java.lang.Exception)"},{"p":"io.ipinfo.api","c":"IPinfo.BatchReqOpts","l":"filter"},{"p":"io.ipinfo.api.cache","c":"Cache","l":"get(String)","u":"get(java.lang.String)"},{"p":"io.ipinfo.api.cache","c":"NoCache","l":"get(String)","u":"get(java.lang.String)"},{"p":"io.ipinfo.api.cache","c":"SimpleCache","l":"get(String)","u":"get(java.lang.String)"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getAbuse()"},{"p":"io.ipinfo.api.model","c":"Abuse","l":"getAddress()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getAllocated()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getAnycast()"},{"p":"io.ipinfo.api.model","c":"ASN","l":"getAsn()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getAsn()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getAsn()"},{"p":"io.ipinfo.api","c":"IPinfo","l":"getBatch(List)","u":"getBatch(java.util.List)"},{"p":"io.ipinfo.api","c":"IPinfo","l":"getBatch(List, IPinfo.BatchReqOpts)","u":"getBatch(java.util.List,io.ipinfo.api.IPinfo.BatchReqOpts)"},{"p":"io.ipinfo.api","c":"IPinfo","l":"getBatchAsns(List)","u":"getBatchAsns(java.util.List)"},{"p":"io.ipinfo.api","c":"IPinfo","l":"getBatchAsns(List, IPinfo.BatchReqOpts)","u":"getBatchAsns(java.util.List,io.ipinfo.api.IPinfo.BatchReqOpts)"},{"p":"io.ipinfo.api","c":"IPinfo","l":"getBatchIps(List)","u":"getBatchIps(java.util.List)"},{"p":"io.ipinfo.api","c":"IPinfo","l":"getBatchIps(List, IPinfo.BatchReqOpts)","u":"getBatchIps(java.util.List,io.ipinfo.api.IPinfo.BatchReqOpts)"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getCarrier()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getCity()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getCompany()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getCountry()"},{"p":"io.ipinfo.api.model","c":"Abuse","l":"getCountry()"},{"p":"io.ipinfo.api.model","c":"Prefix","l":"getCountry()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getCountryCode()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getCountryCode()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getCountryName()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getCountryName()"},{"p":"io.ipinfo.api.context","c":"Context","l":"getCountryName(String)","u":"getCountryName(java.lang.String)"},{"p":"io.ipinfo.api.model","c":"ASN","l":"getDomain()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getDomain()"},{"p":"io.ipinfo.api.model","c":"Company","l":"getDomain()"},{"p":"io.ipinfo.api.model","c":"Prefix","l":"getDomain()"},{"p":"io.ipinfo.api.model","c":"Domains","l":"getDomains()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getDomains()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getDownstreams()"},{"p":"io.ipinfo.api.model","c":"Abuse","l":"getEmail()"},{"p":"io.ipinfo.api.model","c":"Privacy","l":"getHosting()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getHostname()"},{"p":"io.ipinfo.api.model","c":"Prefix","l":"getId()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getIp()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getLatitude()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getLocation()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getLongitude()"},{"p":"io.ipinfo.api","c":"IPinfo","l":"getMap(List)","u":"getMap(java.util.List)"},{"p":"io.ipinfo.api.model","c":"Carrier","l":"getMcc()"},{"p":"io.ipinfo.api.model","c":"Carrier","l":"getMnc()"},{"p":"io.ipinfo.api.model","c":"ASN","l":"getName()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getName()"},{"p":"io.ipinfo.api.model","c":"Abuse","l":"getName()"},{"p":"io.ipinfo.api.model","c":"Carrier","l":"getName()"},{"p":"io.ipinfo.api.model","c":"Company","l":"getName()"},{"p":"io.ipinfo.api.model","c":"Prefix","l":"getName()"},{"p":"io.ipinfo.api.model","c":"Prefix","l":"getNetblock()"},{"p":"io.ipinfo.api.model","c":"Abuse","l":"getNetwork()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getNumIps()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getOrg()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getPeers()"},{"p":"io.ipinfo.api.model","c":"Abuse","l":"getPhone()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getPostal()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getPrefixes()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getPrefixes6()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getPrivacy()"},{"p":"io.ipinfo.api.model","c":"Privacy","l":"getProxy()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getRegion()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getRegistry()"},{"p":"io.ipinfo.api.model","c":"Privacy","l":"getRelay()"},{"p":"io.ipinfo.api.model","c":"MapResponse","l":"getReportUrl()"},{"p":"io.ipinfo.api.model","c":"ASN","l":"getRoute()"},{"p":"io.ipinfo.api.model","c":"Privacy","l":"getService()"},{"p":"io.ipinfo.api.model","c":"Prefix","l":"getSize()"},{"p":"io.ipinfo.api.model","c":"MapResponse","l":"getStatus()"},{"p":"io.ipinfo.api.model","c":"Prefix","l":"getStatus()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"getTimezone()"},{"p":"io.ipinfo.api.model","c":"Privacy","l":"getTor()"},{"p":"io.ipinfo.api.model","c":"Domains","l":"getTotal()"},{"p":"io.ipinfo.api.model","c":"ASN","l":"getType()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getType()"},{"p":"io.ipinfo.api.model","c":"Company","l":"getType()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"getUpstreams()"},{"p":"io.ipinfo.api.model","c":"Privacy","l":"getVpn()"},{"p":"io.ipinfo.api.request","c":"BaseRequest","l":"gson"},{"p":"io.ipinfo.api.request","c":"ASNRequest","l":"handle()"},{"p":"io.ipinfo.api.request","c":"BaseRequest","l":"handle()"},{"p":"io.ipinfo.api.request","c":"IPRequest","l":"handle()"},{"p":"io.ipinfo.api.request","c":"MapRequest","l":"handle()"},{"p":"io.ipinfo.api.request","c":"BaseRequest","l":"handleRequest(Request.Builder)","u":"handleRequest(okhttp3.Request.Builder)"},{"p":"io.ipinfo.api.request","c":"IPRequest","l":"IPRequest(OkHttpClient, String, String)","u":"%3Cinit%3E(okhttp3.OkHttpClient,java.lang.String,java.lang.String)"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"IPResponse(String, String, boolean, String, String, String, String, String, String, String, ASN, Company, Carrier, Privacy, Abuse, Domains)","u":"%3Cinit%3E(java.lang.String,java.lang.String,boolean,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,io.ipinfo.api.model.ASN,io.ipinfo.api.model.Company,io.ipinfo.api.model.Carrier,io.ipinfo.api.model.Privacy,io.ipinfo.api.model.Abuse,io.ipinfo.api.model.Domains)"},{"p":"io.ipinfo.api","c":"IPinfo","l":"lookupASN(String)","u":"lookupASN(java.lang.String)"},{"p":"io.ipinfo.api","c":"IPinfo","l":"lookupIP(String)","u":"lookupIP(java.lang.String)"},{"p":"io.ipinfo.api","c":"IPinfo","l":"main(String...)","u":"main(java.lang.String...)"},{"p":"io.ipinfo.api.request","c":"MapRequest","l":"MapRequest(OkHttpClient, String, List)","u":"%3Cinit%3E(okhttp3.OkHttpClient,java.lang.String,java.util.List)"},{"p":"io.ipinfo.api.model","c":"MapResponse","l":"MapResponse(String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String)"},{"p":"io.ipinfo.api.cache","c":"NoCache","l":"NoCache()","u":"%3Cinit%3E()"},{"p":"io.ipinfo.api.model","c":"Prefix","l":"Prefix(String, String, String, String, String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)"},{"p":"io.ipinfo.api.model","c":"Privacy","l":"Privacy(boolean, boolean, boolean, boolean, boolean, String)","u":"%3Cinit%3E(boolean,boolean,boolean,boolean,boolean,java.lang.String)"},{"p":"io.ipinfo.api.errors","c":"RateLimitedException","l":"RateLimitedException()","u":"%3Cinit%3E()"},{"p":"io.ipinfo.api.cache","c":"Cache","l":"set(String, Object)","u":"set(java.lang.String,java.lang.Object)"},{"p":"io.ipinfo.api.cache","c":"NoCache","l":"set(String, Object)","u":"set(java.lang.String,java.lang.Object)"},{"p":"io.ipinfo.api.cache","c":"SimpleCache","l":"set(String, Object)","u":"set(java.lang.String,java.lang.Object)"},{"p":"io.ipinfo.api","c":"IPinfo.BatchReqOpts.Builder","l":"setBatchSize(int)"},{"p":"io.ipinfo.api","c":"IPinfo.Builder","l":"setCache(Cache)","u":"setCache(io.ipinfo.api.cache.Cache)"},{"p":"io.ipinfo.api","c":"IPinfo.Builder","l":"setClient(OkHttpClient)","u":"setClient(okhttp3.OkHttpClient)"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"setContext(Context)","u":"setContext(io.ipinfo.api.context.Context)"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"setContext(Context)","u":"setContext(io.ipinfo.api.context.Context)"},{"p":"io.ipinfo.api","c":"IPinfo.Builder","l":"setCountryFile(File)","u":"setCountryFile(java.io.File)"},{"p":"io.ipinfo.api","c":"IPinfo.BatchReqOpts.Builder","l":"setFilter(boolean)"},{"p":"io.ipinfo.api","c":"IPinfo.BatchReqOpts.Builder","l":"setTimeoutPerBatch(int)"},{"p":"io.ipinfo.api","c":"IPinfo.BatchReqOpts.Builder","l":"setTimeoutTotal(int)"},{"p":"io.ipinfo.api","c":"IPinfo.Builder","l":"setToken(String)","u":"setToken(java.lang.String)"},{"p":"io.ipinfo.api.cache","c":"SimpleCache","l":"SimpleCache(Duration)","u":"%3Cinit%3E(java.time.Duration)"},{"p":"io.ipinfo.api","c":"IPinfo.BatchReqOpts","l":"timeoutPerBatch"},{"p":"io.ipinfo.api","c":"IPinfo.BatchReqOpts","l":"timeoutTotal"},{"p":"io.ipinfo.api.model","c":"ASN","l":"toString()"},{"p":"io.ipinfo.api.model","c":"ASNResponse","l":"toString()"},{"p":"io.ipinfo.api.model","c":"Abuse","l":"toString()"},{"p":"io.ipinfo.api.model","c":"Carrier","l":"toString()"},{"p":"io.ipinfo.api.model","c":"Company","l":"toString()"},{"p":"io.ipinfo.api.model","c":"Domains","l":"toString()"},{"p":"io.ipinfo.api.model","c":"IPResponse","l":"toString()"},{"p":"io.ipinfo.api.model","c":"MapResponse","l":"toString()"},{"p":"io.ipinfo.api.model","c":"Prefix","l":"toString()"},{"p":"io.ipinfo.api.model","c":"Privacy","l":"toString()"}];updateSearchResults();
\ No newline at end of file
diff --git a/module-search-index.js b/module-search-index.js
new file mode 100644
index 0000000..0d59754
--- /dev/null
+++ b/module-search-index.js
@@ -0,0 +1 @@
+moduleSearchIndex = [];updateSearchResults();
\ No newline at end of file
diff --git a/overview-summary.html b/overview-summary.html
new file mode 100644
index 0000000..e0fc34d
--- /dev/null
+++ b/overview-summary.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+IPinfo-API 2.1 API
+
+
+
+
+
+
+
+
+
+
+
+
+
").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),this.menu.blur(),void 0):(this.menu[t](e),void 0):(this.search(null,e),void 0)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("
").text(i).appendTo(this.liveRegion))}}),t.ui.autocomplete});
\ No newline at end of file
diff --git a/script-dir/jquery-ui.structure.min.css b/script-dir/jquery-ui.structure.min.css
new file mode 100644
index 0000000..e880892
--- /dev/null
+++ b/script-dir/jquery-ui.structure.min.css
@@ -0,0 +1,5 @@
+/*! jQuery UI - v1.12.1 - 2018-12-06
+* http://jqueryui.com
+* Copyright jQuery Foundation and other contributors; Licensed MIT */
+
+.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..4428408
--- /dev/null
+++ b/script.js
@@ -0,0 +1,103 @@
+/*
+ * Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+var moduleSearchIndex;
+var packageSearchIndex;
+var typeSearchIndex;
+var memberSearchIndex;
+var tagSearchIndex;
+function loadScripts(doc, tag) {
+ createElem(doc, tag, 'search.js');
+
+ createElem(doc, tag, 'module-search-index.js');
+ createElem(doc, tag, 'package-search-index.js');
+ createElem(doc, tag, 'type-search-index.js');
+ createElem(doc, tag, 'member-search-index.js');
+ createElem(doc, tag, 'tag-search-index.js');
+}
+
+function createElem(doc, tag, path) {
+ var script = doc.createElement(tag);
+ var scriptElement = doc.getElementsByTagName(tag)[0];
+ script.src = pathtoroot + path;
+ scriptElement.parentNode.insertBefore(script, scriptElement);
+}
+
+function show(type) {
+ count = 0;
+ for (var key in data) {
+ var row = document.getElementById(key);
+ if ((data[key] & type) !== 0) {
+ row.style.display = '';
+ row.className = (count++ % 2) ? rowColor : altColor;
+ }
+ else
+ row.style.display = 'none';
+ }
+ updateTabs(type);
+}
+
+function updateTabs(type) {
+ var firstRow = document.getElementById(Object.keys(data)[0]);
+ var table = firstRow.closest('table');
+ for (var value in tabs) {
+ var tab = document.getElementById(tabs[value][0]);
+ if (value == type) {
+ tab.className = activeTableTab;
+ tab.innerHTML = tabs[value][1];
+ tab.setAttribute('aria-selected', true);
+ tab.setAttribute('tabindex',0);
+ table.setAttribute('aria-labelledby', tabs[value][0]);
+ }
+ else {
+ tab.className = tableTab;
+ tab.setAttribute('aria-selected', false);
+ tab.setAttribute('tabindex',-1);
+ tab.setAttribute('onclick', "show("+ value + ")");
+ tab.innerHTML = tabs[value][1];
+ }
+ }
+}
+
+function switchTab(e) {
+ if (e.keyCode == 37 || e.keyCode == 38) {
+ $("[aria-selected=true]").prev().click().focus();
+ e.preventDefault();
+ }
+ if (e.keyCode == 39 || e.keyCode == 40) {
+ $("[aria-selected=true]").next().click().focus();
+ e.preventDefault();
+ }
+}
+
+var updateSearchResults = function() {};
+
+function indexFilesLoaded() {
+ return moduleSearchIndex
+ && packageSearchIndex
+ && typeSearchIndex
+ && memberSearchIndex
+ && tagSearchIndex;
+}
diff --git a/search.js b/search.js
new file mode 100644
index 0000000..9d19ba1
--- /dev/null
+++ b/search.js
@@ -0,0 +1,378 @@
+/*
+ * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+var noResult = {l: "No results found"};
+var loading = {l: "Loading search index..."};
+var catModules = "Modules";
+var catPackages = "Packages";
+var catTypes = "Types";
+var catMembers = "Members";
+var catSearchTags = "SearchTags";
+var highlight = "$&";
+var searchPattern = "";
+var RANKING_THRESHOLD = 2;
+var NO_MATCH = 0xffff;
+var MAX_RESULTS_PER_CATEGORY = 500;
+var UNNAMED = "";
+function escapeHtml(str) {
+ return str.replace(//g, ">");
+}
+function getHighlightedText(item, matcher) {
+ var escapedItem = escapeHtml(item);
+ return escapedItem.replace(matcher, highlight);
+}
+function getURLPrefix(ui) {
+ var urlPrefix="";
+ var slash = "/";
+ if (ui.item.category === catModules) {
+ return ui.item.l + slash;
+ } else if (ui.item.category === catPackages && ui.item.m) {
+ return ui.item.m + slash;
+ } else if (ui.item.category === catTypes || ui.item.category === catMembers) {
+ if (ui.item.m) {
+ urlPrefix = ui.item.m + slash;
+ } else {
+ $.each(packageSearchIndex, function(index, item) {
+ if (item.m && ui.item.p === item.l) {
+ urlPrefix = item.m + slash;
+ }
+ });
+ }
+ return urlPrefix;
+ }
+ return urlPrefix;
+}
+function makeCamelCaseRegex(term) {
+ var pattern = "";
+ var isWordToken = false;
+ term.replace(/,\s*/g, ", ").trim().split(/\s+/).forEach(function(w, index) {
+ if (index > 0) {
+ // whitespace between identifiers is significant
+ pattern += (isWordToken && /^\w/.test(w)) ? "\\s+" : "\\s*";
+ }
+ var tokens = w.split(/(?=[A-Z,.()<>[\/])/);
+ for (var i = 0; i < tokens.length; i++) {
+ var s = tokens[i];
+ if (s === "") {
+ continue;
+ }
+ pattern += $.ui.autocomplete.escapeRegex(s);
+ isWordToken = /\w$/.test(s);
+ if (isWordToken) {
+ pattern += "([a-z0-9_$<>\\[\\]]*?)";
+ }
+ }
+ });
+ return pattern;
+}
+function createMatcher(pattern, flags) {
+ var isCamelCase = /[A-Z]/.test(pattern);
+ return new RegExp(pattern, flags + (isCamelCase ? "" : "i"));
+}
+var watermark = 'Search';
+$(function() {
+ $("#search").val('');
+ $("#search").prop("disabled", false);
+ $("#reset").prop("disabled", false);
+ $("#search").val(watermark).addClass('watermark');
+ $("#search").blur(function() {
+ if ($(this).val().length == 0) {
+ $(this).val(watermark).addClass('watermark');
+ }
+ });
+ $("#search").on('click keydown paste', function() {
+ if ($(this).val() == watermark) {
+ $(this).val('').removeClass('watermark');
+ }
+ });
+ $("#reset").click(function() {
+ $("#search").val('');
+ $("#search").focus();
+ });
+ $("#search").focus();
+ $("#search")[0].setSelectionRange(0, 0);
+});
+$.widget("custom.catcomplete", $.ui.autocomplete, {
+ _create: function() {
+ this._super();
+ this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)");
+ },
+ _renderMenu: function(ul, items) {
+ var rMenu = this;
+ var currentCategory = "";
+ rMenu.menu.bindings = $();
+ $.each(items, function(index, item) {
+ var li;
+ if (item.category && item.category !== currentCategory) {
+ ul.append("