org.kohsuke.github
Interface HttpConnector

All Known Implementing Classes:
OkHttpConnector

public interface HttpConnector

Pluggability for customizing HTTP request behaviors or using altogether different library.

For example, you can implement this to st custom timeouts.

Author:
Kohsuke Kawaguchi

Field Summary
static HttpConnector DEFAULT
          Default implementation that uses URL.openConnection().
 
Method Summary
 HttpURLConnection connect(URL url)
          Opens a connection to the given URL.
 

Field Detail

DEFAULT

static final HttpConnector DEFAULT
Default implementation that uses URL.openConnection().

Method Detail

connect

HttpURLConnection connect(URL url)
                          throws IOException
Opens a connection to the given URL.

Throws:
IOException


Copyright © 2014. All rights reserved.