Utils

class Utils

some Utils service related tools

Author

"Martin Krischik" «krischik@users.sourceforge.net»

Since

1.3

Constructors

Link copied to clipboard
private constructor()
Do not create

Properties

Link copied to clipboard
val Accept_Charset: String = "Accept-Charset"
Characters set we expect fromt he back end utf-8.
Link copied to clipboard
val Accept_Encoding: String = "Accept-Encoding"
data encoding we can handle.
Link copied to clipboard
val Accept_Language: String = "Accept-Language"
the language we expect the answer to be.
Link copied to clipboard
val Accept_Type: String = "Accept"
Data type which we expect.
Link copied to clipboard
val Charset_UTF_8: String = "utf-8"
Characters set utf-8
Link copied to clipboard
val Content_Encoding: String = "Content-Encoding"
data encoding used i.E.
Link copied to clipboard
data encoding using gzip compression
Link copied to clipboard
val Content_Type: String = "Content-Type"
Content type i.E.
Link copied to clipboard
private val TAG: String
Logging tag
Link copied to clipboard
val Type_XML: String = "text/xml"
We send and expect XML data.
Link copied to clipboard
val User_Agent: String = "User-Agent"
The application which sends the request.
Link copied to clipboard
val User_Agent_Android: String = "Android"
The user agent which we will send.

Functions

Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
open fun postFromStream(bodyStream: StreamTupple, address: URI): HttpPost
create the request data
Link copied to clipboard
open fun readerFromResponce(request: HttpUriRequest): InputStreamReader
create the responce reader
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
fun wait()