com.despegar.http.client.WithoutBodyMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-java-native-client Show documentation
Show all versions of http-java-native-client Show documentation
HTTP Java client without dependencies
package com.despegar.http.client;
import java.io.IOException;
import java.net.HttpURLConnection;
public class WithoutBodyMethod extends HttpMethod {
public WithoutBodyMethod(String url, String name, boolean followRedirects) {
super(url, name, false, followRedirects);
}
@Override
protected void writeBody(HttpURLConnection connection) throws IOException {
}
}