HTTPConnection |
Basic abstraction atop an HTTP connection that is used to handle low-level Gnip <> HTTP protocol interaction. This class is used by the {@link com.Gnip.Client.GnipConnection} to communicate with a Gnip server and is not intended to be used by clients. This class sets several headers on the request, in part based on the how the connection is configured by the {@link com.Gnip.Client.Config} instance. -
Content-Encoding and Accept-Encoding are set if {@link Config#setUseGzip(boolean)} is true User-Agent is set to a Java-client value that includes the version of the client library Authorization is set using basic authentication credentials |