mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-29 08:21:26 +00:00
Merge pull request #998 from bitwiseman/obsolete-okhttp
Deprecate OkHttp 2.x connector
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