Skip to content

YAMJ/api-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Common API

This is a set of common API functions used by the APIs of YAMJ

Build Status

##SimpleHttpClientBuilder This class allows you to create a simple CloseableHttpClient for use in the APIs if required.

Firstly, create a SimpleHttpClientBuilder:

SimpleHttpClientBuilder shcb = new SimpleHttpClientBuilder();

Then, set properties using the .setXXX() functions and finally create the httpClient that can be used by the APIs

CloseableHttpClient httpClient = shcb.build();

Android Usage

If you want to use this library in an android project, then adding the following lines to your gradle file should help matters.

useLibrary 'org.apache.http.legacy'
compile group: 'org.apache.httpcomponents' , name: 'httpclient-android' , version: '4.3.5.1'

Project Documentation

The automatically generated documentation can be found HERE

About

Common API functions for YAMJ

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages