zandero / http

Collection of http utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http

Http utilities for easy request building and execution

Wrapper around Apache Http client

Setup

<dependency>      
     <groupId>com.zandero</groupId>      
     <artifactId>http</artifactId>      
     <version>1.3</version>      
</dependency>

HttpUtils

Step 1 - build your request

HttpRequestBase req = HttpUtils.get("http://httpbin.org/get");	

Step 2 - execute request

HttpResponse res = HttpUtils.execute(req);

Step 2 - execute request asynchronously

HttpResponse res = HttpUtils.executeAsync(executor, req, future);

About

Collection of http utilities

License:Apache License 2.0


Languages

Language:Java 100.0%