W3cubDocs

/Haxe Java

URLConnection

package java.net

@:abstract@:libType@:javaNative@:native("java.net.URLConnection")@:javaCanonical("java.net","URLConnection") Available on java

Methods

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

@:overload @:throws("java.io.IOException") connect ():Void

@:overload getAllowUserInteraction ():Bool

@:overload getConnectTimeout ():Int

@:overload @:throws("java.io.IOException") getContent (param1:NativeArray<Class<Dynamic>>):Dynamic

@:overload @:throws("java.io.IOException") getContent ():Dynamic

@:overload getContentEncoding ():String

@:overload getContentLength ():Int

@:overload getContentLengthLong ():Int64

@:overload getContentType ():String

@:overload getDate ():Int64

@:overload getDefaultUseCaches ():Bool

@:overload getDoInput ():Bool

@:overload getDoOutput ():Bool

@:overload getExpiration ():Int64

@:overload getHeaderField (param1:Int):String

@:overload getHeaderField (param1:String):String

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

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

@:overload getHeaderFieldKey (param1:Int):String

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

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

@:overload getIfModifiedSince ():Int64

@:overload @:throws("java.io.IOException") getInputStream ():InputStream

@:overload getLastModified ():Int64

@:overload @:throws("java.io.IOException") getOutputStream ():OutputStream

@:overload @:throws("java.io.IOException") getPermission ():Permission

@:overload getReadTimeout ():Int

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

@:overload getRequestProperty (param1:String):String

@:overload getURL ():URL

@:overload getUseCaches ():Bool

@:overload setAllowUserInteraction (param1:Bool):Void

@:overload setConnectTimeout (param1:Int):Void

@:overload setDefaultUseCaches (param1:Bool):Void

@:overload setDoInput (param1:Bool):Void

@:overload setDoOutput (param1:Bool):Void

@:overload setIfModifiedSince (param1:Int64):Void

@:overload setReadTimeout (param1:Int):Void

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

@:overload setUseCaches (param1:Bool):Void

@:overload toString ():String

Static methods

@:overload static getDefaultAllowUserInteraction ():Bool

@:overload static getDefaultRequestProperty (param1:String):String

Deprecated:

@:overload static getFileNameMap ():FileNameMap

@:overload static guessContentTypeFromName (param1:String):String

@:overload @:throws("java.io.IOException") static guessContentTypeFromStream (param1:InputStream):String

@:overload static setContentHandlerFactory (param1:ContentHandlerFactory):Void

@:overload static setDefaultAllowUserInteraction (param1:Bool):Void

@:overload static setDefaultRequestProperty (param1:String, param2:String):Void

Deprecated:

@:overload static setFileNameMap (param1:FileNameMap):Void

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