Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 817 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 817 Bytes

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());