HttpUtils

object HttpUtils extends Logging
trait Logging
class Object
trait Matchable
class Any

Value members

Concrete methods

def access(url: URL): ResourceStatus
@tailrec
def followRedirect(c: URLConnection, method: String): HttpURLConnection
def getData(urlString: String, method: String): Response
def getData(url: URL, method: String, username: String, password: String): Response
def getData(url: URL, method: String, f: Option[HttpURLConnection => Unit]): Response
def getText(urlString: String): Response
def getText(url: URL, method: String, encoding: Charset): Response
def getText(url: URL, method: String, encoding: Charset, username: String, password: String): Response
def getText(url: URL, method: String, encoding: Charset, f: Option[URLConnection => Unit]): Response
def invoke(url: URL, body: String, contentType: String): Response
def invoke(url: URL, body: String, contentType: String, username: String, password: String): Response
def invoke(url: URL, body: String, contentType: String, f: Option[URLConnection => Unit]): Response
def toString(httpCode: Int): String

Inherited fields

protected val logger: Logger
Inherited from:
Logging