scalaj.http
Type members
Classlikes
Extends and override this class to setup your own defaults
Extends and override this class to setup your own defaults
- Value Params
- charset
charset to use for encoding request and decoding response
- compress
use HTTP Compression
- options
set things like timeouts, ssl handling, redirect following
- proxyConfig
http proxy; defaults to the Java default proxy (see http://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html). You can use scalaj.http.HttpConstants.proxy to specify an alternate proxy, or specify java.net.Proxy.NO_PROXY to explicitly use not use a proxy.
- sendBufferSize
buffer size for multipart posts
- userAgent
User-Agent request header
This object was generated by sbt-buildinfo.
This object was generated by sbt-buildinfo.
Helper functions for modifying the underlying HttpURLConnection
Helper functions for modifying the underlying HttpURLConnection
Immutable builder for creating an http request
Immutable builder for creating an http request
This is the workhorse of the scalaj-http library.
You shouldn't need to construct this manually. Use scalaj.http.Http.apply to get an instance
The params, headers and options methods are all additive. They will always add things to the request. If you want to replace those things completely, you can do something like
.copy(params=newparams)
Result of executing a scalaj.http.HttpRequest
Result of executing a scalaj.http.HttpRequest
- Type Params
- T
the body response since it can be parsed directly to things other than String
- Value Params
- body
the Http response body
- code
the http response code from the status line
- headers
the response headers
- Companion
- object
utility methods used by scalaj.http.HttpRequest
utility methods used by scalaj.http.HttpRequest