Skip to content

Getting Started

晓寻遥 edited this page Dec 11, 2021 · 1 revision

Promise based HTTP client for the java

What is Axios?

Axios is a promise-based HTTP client for java. It is isomorphic (= it can run in java with the same codebase). On the server-side, it uses the native java HttpUrlConnection.

Features

  • Make XMLHttpRequests from the server
  • Make HTTP requests from java
  • Supports the Promise API
  • Intercept request and response
  • Transform request and response data
  • Cancel requests

Installing

Using Maven:

<dependency>
  <groupId>io.github.xiao-organization</groupId>
  <artifactId>axios</artifactId>
  <version>0.0.1</version>
</dependency>

Using Gradle:

implementation 'io.github.xiao-organization:axios:0.0.1'
Clone this wiki locally