cz.jalasoft.net.http.HttpClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of HttpClient Show documentation
Show all versions of HttpClient Show documentation
API for communicating over HTTP.
The newest version!
/*
* Copyright (c) 2015 Avast a.s., www.avast.com
*/
package cz.jalasoft.net.http;
import java.io.Closeable;
/**
* A HTTP client that allows sending request of various types.
*
* @author Jan Lastovicka ([email protected])
* @since 2015-02-21
*/
public interface HttpClient extends Closeable {
/**
* Starts a creation of a new HTTP POST request.
*
* @return never null
*/
HttpPostRequest postRequest();
/**
* Starts a creation of a new HTTP GET request.
*
* @return never null
*/
HttpGetRequest getRequest();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy