Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e64d64d

Browse filesBrowse files
committed
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 hub4j#997
1 parent 30c9622 commit e64d64d
Copy full SHA for e64d64d

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎src/main/java/org/kohsuke/github/extras/OkHttpConnector.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/extras/OkHttpConnector.java
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@
2626
*
2727
* @author Roberto Tyley
2828
* @author Kohsuke Kawaguchi
29+
* @deprecated This class depends on an unsupported version of OkHttp. Switch to
30+
* {@link org.kohsuke.github.extras.okhttp3.OkHttpConnector}.
31+
* @see org.kohsuke.github.extras.okhttp3.OkHttpConnector
2932
*/
33+
@Deprecated
3034
public class OkHttpConnector implements HttpConnector {
3135
private static final String HEADER_NAME = "Cache-Control";
3236
private final OkUrlFactory urlFactory;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.