mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-05 00:11:22 +00:00
Deprecate OkHttp 2.x connector
OkHttp 2.x is unsupported. OkHttpUrlFactory contains bugs and limiations which will not be fixed and also cannot be mitigated by this library. Users should move to OkHttp3. Closes #997
This commit is contained in:
@@ -26,7 +26,11 @@ import javax.net.ssl.SSLSocketFactory;
|
||||
*
|
||||
* @author Roberto Tyley
|
||||
* @author Kohsuke Kawaguchi
|
||||
* @deprecated This class depends on an unsupported version of OkHttp. Switch to
|
||||
* {@link org.kohsuke.github.extras.okhttp3.OkHttpConnector}.
|
||||
* @see org.kohsuke.github.extras.okhttp3.OkHttpConnector
|
||||
*/
|
||||
@Deprecated
|
||||
public class OkHttpConnector implements HttpConnector {
|
||||
private static final String HEADER_NAME = "Cache-Control";
|
||||
private final OkUrlFactory urlFactory;
|
||||
|
||||
Reference in New Issue
Block a user