Skip to content

Commit

Permalink
Merge pull request #998 from bitwiseman/obsolete-okhttp
Browse files Browse the repository at this point in the history
Deprecate OkHttp 2.x connector
  • Loading branch information
bitwiseman authored Dec 13, 2020
2 parents 3819984 + e64d64d commit 9151102
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/kohsuke/github/extras/OkHttpConnector.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
*
* @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;
Expand Down

0 comments on commit 9151102

Please sign in to comment.