Well Rested Client

A nice and easy java http client wrapper built on top of apache httpclient

Лицензия

Лицензия

Категории

Категории

CLI Взаимодействие с пользователем
Группа

Группа

com.lindar
Идентификатор

Идентификатор

well-rested-client
Последняя версия

Последняя версия

1.7.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

Well Rested Client
A nice and easy java http client wrapper built on top of apache httpclient
Ссылка на сайт

Ссылка на сайт

http://www.lindar.com/
Система контроля версий

Система контроля версий

https://github.com/lindar-open/well-rested-client.git

Скачать well-rested-client

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.lindar/well-rested-client/ -->
<dependency>
    <groupId>com.lindar</groupId>
    <artifactId>well-rested-client</artifactId>
    <version>1.7.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.lindar/well-rested-client/
implementation 'com.lindar:well-rested-client:1.7.3'
// https://jarcasting.com/artifacts/com.lindar/well-rested-client/
implementation ("com.lindar:well-rested-client:1.7.3")
'com.lindar:well-rested-client:jar:1.7.3'
<dependency org="com.lindar" name="well-rested-client" rev="1.7.3">
  <artifact name="well-rested-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.lindar', module='well-rested-client', version='1.7.3')
)
libraryDependencies += "com.lindar" % "well-rested-client" % "1.7.3"
[com.lindar/well-rested-client "1.7.3"]

Зависимости

compile (10)

Идентификатор библиотеки Тип Версия
org.apache.httpcomponents : httpclient jar 4.5.11
org.apache.httpcomponents : httpmime jar 4.5.11
org.apache.httpcomponents : fluent-hc jar 4.5.11
org.apache.commons : commons-lang3 jar 3.9
log4j : log4j jar 1.2.17
org.slf4j : slf4j-api jar 1.7.30
org.slf4j : slf4j-log4j12 jar 1.7.30
org.projectlombok : lombok jar 1.18.12
com.google.code.gson : gson jar 2.8.6
com.fatboyindustrial.gson-javatime-serialisers : gson-javatime-serialisers jar 1.1.1

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.13
org.mockito : mockito-core jar 2.28.2
com.github.tomakehurst : wiremock jar 2.19.0

Модули Проекта

Данный проект не имеет модулей.

well-rested-client

Want a nice rest client that just works without too much headache? Try this well rested and ready to go client built on top of apache http client

Check out the Releases page for detailed info about each release.

Examples:

GET Request:

ResponseVO serverResponse = WellRestedRequest.builder().url(url).build().get().submit();

The ResponseVO class contains the status code returned by the server and the server response returned as String.

POST Request:

How to post a json string directly:

ResponseVO serverResponse = WellRestedRequest.builder().url(url).build().post().jsonContent(jsonString).submit();

How to post an object as json:

ResponseVO serverResponse = WellRestedRequest.builder().url(url).build().post().jsonContent(myObj).submit();

How to post an xml string directly:

ResponseVO serverResponse = WellRestedRequest.builder().url(url).build().post().xmlContent(xmlString).submit();

More examples to come...

Usage:

<dependency>
    <groupId>com.lindar</groupId>
    <artifactId>well-rested-client</artifactId>
    <version>1.4.1</version>
</dependency>
com.lindar

Lindar Media

All our open-source projects in one place

Версии библиотеки

Версия
1.7.3
1.7.2
1.7.1
1.7.0
1.6.1
1.6.0
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.1
1.4.0
1.3.0
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0