HttpUtils

org.beangle.commons.net.http.HttpUtils
object HttpUtils extends Logging

Attributes

Graph
Supertypes
trait Logging
class Object
trait Matchable
class Any
Self type
HttpUtils.type

Members list

Value members

Concrete methods

def access(url: URL): ResourceStatus
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: AnyRef, contentType: String): Response
def invoke(url: URL, body: AnyRef, contentType: String, username: String, password: String): Response
def invoke(url: URL, body: AnyRef, contentType: String, f: Option[URLConnection => Unit]): Response
def toString(httpCode: Int): String

Inherited fields

protected val logger: Logger

Attributes

Inherited from:
Logging