Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Latest commit

 

History

History

httpclient

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

This document contains documentation for the tracee-httpclient module. Check the TracEE main documentation to get started.

tracee-httpclient

TODO Wrapper for apache http client 3

Installation

Add the tracee-httpclient module to your pom.xml dependencies:

<dependencies>
...
    <dependency>
        <groupId>io.tracee.binding</groupId>
   		<artifactId>tracee-httpclient</artifactId>
        <version>${tracee.version}</version>
    </dependency>
...
</dependencies>

Then simply replace the pure instantiation of the HttpClient in your code with:

final HttpClient client = new HttpClient();

with the TraceeHttpClientDecorator:

final HttpClient client = TraceeHttpClientDecorator.wrap(new HttpClient());