Remove deprecated TransportHttp#httpOpen(String, URL)
Use TransportHttp#httpOpen(String, URL, AcceptEncoding) instead. Change-Id: I4ad423175daa5499caad9cccb88076d371331569 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
211d94e135
commit
39a1b4d325
|
@ -795,21 +795,6 @@ private URL getServiceURL(final String service)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Open an HTTP connection, setting the accept-encoding request header to gzip.
|
|
||||||
*
|
|
||||||
* @param method HTTP request method
|
|
||||||
* @param u url of the HTTP connection
|
|
||||||
* @return the HTTP connection
|
|
||||||
* @throws java.io.IOException
|
|
||||||
* @since 3.3
|
|
||||||
* @deprecated use {@link #httpOpen(String, URL, AcceptEncoding)} instead.
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
protected HttpConnection httpOpen(String method, URL u) throws IOException {
|
|
||||||
return httpOpen(method, u, AcceptEncoding.GZIP);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Open an HTTP connection.
|
* Open an HTTP connection.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue