Class HttpURLConnection
public class HttpURLConnection : URLConnection, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<URLConnection>HttpURLConnection
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<URLConnection>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<URLConnection>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<URLConnection>.IsAssignableFrom(IJavaType)JVMBridgeBase<URLConnection>.IsAssignableFrom<T>()JVMBridgeBase<URLConnection>.Execute<T>(params T[])JVMBridgeBase<URLConnection>.DynBridgeClazzJVMBridgeBase<URLConnection>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
HttpURLConnection()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("HttpURLConnection class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public HttpURLConnection()
HttpURLConnection(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("HttpURLConnection class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public HttpURLConnection(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ErrorStream
public InputStream ErrorStream { get; }
Property Value
FollowRedirects
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/HttpURLConnection.html#getFollowRedirects() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/HttpURLConnection.html#setFollowRedirects(boolean)
public static bool FollowRedirects { get; set; }
Property Value
HTTP_ACCEPTED
public static int HTTP_ACCEPTED { get; }
Property Value
HTTP_BAD_GATEWAY
public static int HTTP_BAD_GATEWAY { get; }
Property Value
HTTP_BAD_METHOD
public static int HTTP_BAD_METHOD { get; }
Property Value
HTTP_BAD_REQUEST
public static int HTTP_BAD_REQUEST { get; }
Property Value
HTTP_CLIENT_TIMEOUT
public static int HTTP_CLIENT_TIMEOUT { get; }
Property Value
HTTP_CONFLICT
public static int HTTP_CONFLICT { get; }
Property Value
HTTP_CREATED
public static int HTTP_CREATED { get; }
Property Value
HTTP_ENTITY_TOO_LARGE
public static int HTTP_ENTITY_TOO_LARGE { get; }
Property Value
HTTP_FORBIDDEN
public static int HTTP_FORBIDDEN { get; }
Property Value
HTTP_GATEWAY_TIMEOUT
public static int HTTP_GATEWAY_TIMEOUT { get; }
Property Value
HTTP_GONE
public static int HTTP_GONE { get; }
Property Value
HTTP_INTERNAL_ERROR
public static int HTTP_INTERNAL_ERROR { get; }
Property Value
HTTP_LENGTH_REQUIRED
public static int HTTP_LENGTH_REQUIRED { get; }
Property Value
HTTP_MOVED_PERM
public static int HTTP_MOVED_PERM { get; }
Property Value
HTTP_MOVED_TEMP
public static int HTTP_MOVED_TEMP { get; }
Property Value
HTTP_MULT_CHOICE
public static int HTTP_MULT_CHOICE { get; }
Property Value
HTTP_NOT_ACCEPTABLE
public static int HTTP_NOT_ACCEPTABLE { get; }
Property Value
HTTP_NOT_AUTHORITATIVE
public static int HTTP_NOT_AUTHORITATIVE { get; }
Property Value
HTTP_NOT_FOUND
public static int HTTP_NOT_FOUND { get; }
Property Value
HTTP_NOT_IMPLEMENTED
public static int HTTP_NOT_IMPLEMENTED { get; }
Property Value
HTTP_NOT_MODIFIED
public static int HTTP_NOT_MODIFIED { get; }
Property Value
HTTP_NO_CONTENT
public static int HTTP_NO_CONTENT { get; }
Property Value
HTTP_OK
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/HttpURLConnection.html#HTTP_OK
public static int HTTP_OK { get; }
Property Value
HTTP_PARTIAL
public static int HTTP_PARTIAL { get; }
Property Value
HTTP_PAYMENT_REQUIRED
public static int HTTP_PAYMENT_REQUIRED { get; }
Property Value
HTTP_PRECON_FAILED
public static int HTTP_PRECON_FAILED { get; }
Property Value
HTTP_PROXY_AUTH
public static int HTTP_PROXY_AUTH { get; }
Property Value
HTTP_REQ_TOO_LONG
public static int HTTP_REQ_TOO_LONG { get; }
Property Value
HTTP_RESET
public static int HTTP_RESET { get; }
Property Value
HTTP_SEE_OTHER
public static int HTTP_SEE_OTHER { get; }
Property Value
HTTP_UNAUTHORIZED
public static int HTTP_UNAUTHORIZED { get; }
Property Value
HTTP_UNAVAILABLE
public static int HTTP_UNAVAILABLE { get; }
Property Value
HTTP_UNSUPPORTED_TYPE
public static int HTTP_UNSUPPORTED_TYPE { get; }
Property Value
HTTP_USE_PROXY
public static int HTTP_USE_PROXY { get; }
Property Value
HTTP_VERSION
public static int HTTP_VERSION { get; }
Property Value
InstanceFollowRedirects
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/HttpURLConnection.html#getInstanceFollowRedirects() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/HttpURLConnection.html#setInstanceFollowRedirects(boolean)
public bool InstanceFollowRedirects { get; set; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
RequestMethod
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/HttpURLConnection.html#getRequestMethod() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/HttpURLConnection.html#setRequestMethod(java.lang.String)
public String RequestMethod { get; set; }
Property Value
ResponseCode
public int ResponseCode { get; }
Property Value
ResponseMessage
public String ResponseMessage { get; }
Property Value
Methods
Disconnect()
public void Disconnect()
SetAuthenticator(Authenticator)
public void SetAuthenticator(Authenticator arg0)
Parameters
SetChunkedStreamingMode(int)
public void SetChunkedStreamingMode(int arg0)
Parameters
SetFixedLengthStreamingMode(int)
public void SetFixedLengthStreamingMode(int arg0)
Parameters
SetFixedLengthStreamingMode(long)
public void SetFixedLengthStreamingMode(long arg0)
Parameters
UsingProxy()
public bool UsingProxy()