Package system.web.services.protocols
Class HttpWebClientProtocol
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.web.services.protocols.WebClientProtocol
-
- system.web.services.protocols.HttpWebClientProtocol
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
- Direct Known Subclasses:
DiscoveryClientProtocol,HttpSimpleClientProtocol,SoapHttpClientProtocol
public class HttpWebClientProtocol extends WebClientProtocol
The base .NET class managing System.Web.Services.Protocols.HttpWebClientProtocol, System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.Services.Protocols.HttpWebClientProtocol
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Web.Servicesstatic java.lang.StringclassNameQualified class name: System.Web.Services.Protocols.HttpWebClientProtocolstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HttpWebClientProtocol()HttpWebClientProtocol(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpWebClientProtocolcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoHttpWebClientProtocol, a cast assert is made to check if types are compatible.static HashtableGenerateXmlMappings(NetType[] types, NetArrayList mappings)static booleanGenerateXmlMappings(NetType type, NetArrayList mappings)booleangetAllowAutoRedirect()X509CertificateCollectiongetClientCertificates()CookieContainergetCookieContainer()booleangetEnableDecompression()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeIWebProxygetProxy()booleangetUnsafeAuthenticatedConnectionSharing()java.lang.StringgetUserAgent()voidsetAllowAutoRedirect(boolean AllowAutoRedirect)voidsetCookieContainer(CookieContainer CookieContainer)voidsetEnableDecompression(boolean EnableDecompression)voidsetJCOInstance(JCObject instance)voidsetProxy(IWebProxy Proxy)voidsetUnsafeAuthenticatedConnectionSharing(boolean UnsafeAuthenticatedConnectionSharing)voidsetUserAgent(java.lang.String UserAgent)-
Methods inherited from class system.web.services.protocols.WebClientProtocol
Abort, getConnectionGroupName, getCredentials, getPreAuthenticate, getRequestEncoding, getTimeout, getUrl, getUseDefaultCredentials, setConnectionGroupName, setCredentials, setPreAuthenticate, setRequestEncoding, setTimeout, setUrl, setUseDefaultCredentials
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web.Services- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.Services.Protocols.HttpWebClientProtocol- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classWebClientProtocol- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classWebClientProtocol- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classWebClientProtocol- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classWebClientProtocol- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classWebClientProtocol
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classWebClientProtocol- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static HttpWebClientProtocol cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHttpWebClientProtocol, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HttpWebClientProtocolinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GenerateXmlMappings
public static boolean GenerateXmlMappings(NetType type, NetArrayList mappings) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, ConfigurationErrorsException, NotSupportedException, OutOfMemoryException, FormatException, RankException
- Throws:
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionConfigurationErrorsExceptionNotSupportedExceptionOutOfMemoryExceptionFormatExceptionRankException
-
GenerateXmlMappings
public static Hashtable GenerateXmlMappings(NetType[] types, NetArrayList mappings) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, OutOfMemoryException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionOutOfMemoryExceptionRankException
-
getAllowAutoRedirect
public boolean getAllowAutoRedirect() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAllowAutoRedirect
public void setAllowAutoRedirect(boolean AllowAutoRedirect) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getEnableDecompression
public boolean getEnableDecompression() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setEnableDecompression
public void setEnableDecompression(boolean EnableDecompression) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUnsafeAuthenticatedConnectionSharing
public boolean getUnsafeAuthenticatedConnectionSharing() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUnsafeAuthenticatedConnectionSharing
public void setUnsafeAuthenticatedConnectionSharing(boolean UnsafeAuthenticatedConnectionSharing) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCookieContainer
public CookieContainer getCookieContainer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCookieContainer
public void setCookieContainer(CookieContainer CookieContainer) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getProxy
public IWebProxy getProxy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setProxy
public void setProxy(IWebProxy Proxy) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getClientCertificates
public X509CertificateCollection getClientCertificates() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUserAgent
public java.lang.String getUserAgent() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUserAgent
public void setUserAgent(java.lang.String UserAgent) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-