URLConnection

package java.net

Available on java

Static methods

staticgetDefaultAllowUserInteraction():Bool

staticgetDefaultRequestProperty(param1:String):String

Deprecated:

staticgetFileNameMap():FileNameMap

staticguessContentTypeFromName(param1:String):String

staticguessContentTypeFromStream(param1:InputStream):String

staticsetContentHandlerFactory(param1:ContentHandlerFactory):Void

staticsetDefaultAllowUserInteraction(param1:Bool):Void

staticsetDefaultRequestProperty(param1:String, param2:String):Void

Deprecated:

staticsetFileNameMap(param1:FileNameMap):Void

Methods

addRequestProperty(param1:String, param2:String):Void

connect():Void

getAllowUserInteraction():Bool

getConnectTimeout():Int

getContent(param1:NativeArray<Class<Dynamic>>):Dynamic

getContent():Dynamic

getContentEncoding():String

getContentLength():Int

getContentLengthLong():Int64

getContentType():String

getDate():Int64

getDefaultUseCaches():Bool

getDoInput():Bool

getDoOutput():Bool

getExpiration():Int64

getHeaderField(param1:Int):String

getHeaderField(param1:String):String

getHeaderFieldDate(param1:String, param2:Int64):Int64

getHeaderFieldInt(param1:String, param2:Int):Int

getHeaderFieldKey(param1:Int):String

getHeaderFieldLong(param1:String, param2:Int64):Int64

getHeaderFields():Map<String, List<String>>

getIfModifiedSince():Int64

getInputStream():InputStream

getLastModified():Int64

getOutputStream():OutputStream

getPermission():Permission

getReadTimeout():Int

getRequestProperties():Map<String, List<String>>

getRequestProperty(param1:String):String

getURL():URL

getUseCaches():Bool

setAllowUserInteraction(param1:Bool):Void

setConnectTimeout(param1:Int):Void

setDefaultUseCaches(param1:Bool):Void

setDoInput(param1:Bool):Void

setDoOutput(param1:Bool):Void

setIfModifiedSince(param1:Int64):Void

setReadTimeout(param1:Int):Void

setRequestProperty(param1:String, param2:String):Void

setUseCaches(param1:Bool):Void

toString():String

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/net/URLConnection.html