HttpConstants

Mostly helper methods

class Object
trait Matchable
class Any

Type members

Types

type HttpExec = (HttpRequest, HttpURLConnection) => Unit

Value members

Concrete methods

def appendQs(url: String, params: Seq[(String, String)], charset: String): String
def base64(bytes: Array[Byte]): String
def base64(in: String): String
def basicAuthValue(user: String, password: String): String
def proxy(host: String, port: Int, proxyType: Type): Proxy
def readBytes(in: InputStream): Array[Byte]

[lifted from lift] Read all data from a stream into an Array[Byte]

[lifted from lift] Read all data from a stream into an Array[Byte]

def readParamMap(in: InputStream, charset: String): Map[String, String]
def readParams(in: InputStream, charset: String): Seq[(String, String)]
def readString(is: InputStream): String
def readString(is: InputStream, charset: String): String

[lifted from lift]

[lifted from lift]

def readToken(in: InputStream): Token
def toQs(params: Seq[(String, String)], charset: String): String
def urlDecode(name: String, charset: String): String
def urlEncode(name: String, charset: String): String

Concrete fields

val CharsetRegex: Regex
val setFixedLengthStreamingMode: (HttpURLConnection, Long) => Unit
val utf8: String