Package system.web.services.discovery
Class DiscoveryClientProtocol
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.web.services.protocols.WebClientProtocol
-
- system.web.services.protocols.HttpWebClientProtocol
-
- system.web.services.discovery.DiscoveryClientProtocol
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class DiscoveryClientProtocol extends HttpWebClientProtocol
The base .NET class managing System.Web.Services.Discovery.DiscoveryClientProtocol, 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.Discovery.DiscoveryClientProtocol
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.Discovery.DiscoveryClientProtocolstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DiscoveryClientProtocol()DiscoveryClientProtocol(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiscoveryClientProtocolcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDiscoveryClientProtocol, a cast assert is made to check if types are compatible.DiscoveryDocumentDiscover(java.lang.String url)DiscoveryDocumentDiscoverAny(java.lang.String url)StreamDownload(JCORefOut url)StreamDownload(JCORefOut url, JCORefOut contentType)IListgetAdditionalInformation()DiscoveryClientDocumentCollectiongetDocuments()DiscoveryExceptionDictionarygetErrors()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 TypeDiscoveryClientReferenceCollectiongetReferences()voidLoadExternals()DiscoveryClientResultCollectionReadAll(java.lang.String topLevelFilename)voidResolveAll()voidResolveOneLevel()voidsetJCOInstance(JCObject instance)DiscoveryClientResultCollectionWriteAll(java.lang.String directory, java.lang.String topLevelFilename)-
Methods inherited from class system.web.services.protocols.HttpWebClientProtocol
GenerateXmlMappings, GenerateXmlMappings, getAllowAutoRedirect, getClientCertificates, getCookieContainer, getEnableDecompression, getProxy, getUnsafeAuthenticatedConnectionSharing, getUserAgent, setAllowAutoRedirect, setCookieContainer, setEnableDecompression, setProxy, setUnsafeAuthenticatedConnectionSharing, setUserAgent
-
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.Discovery.DiscoveryClientProtocol- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DiscoveryClientProtocol
public DiscoveryClientProtocol(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
DiscoveryClientProtocol
public DiscoveryClientProtocol() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classHttpWebClientProtocol- 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 classHttpWebClientProtocol- 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 classHttpWebClientProtocol- 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 classHttpWebClientProtocol- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classHttpWebClientProtocol
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classHttpWebClientProtocol- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DiscoveryClientProtocol cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDiscoveryClientProtocol, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DiscoveryClientProtocolinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Download
public Stream Download(JCORefOut url) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, SecurityException, MemberAccessException, NullReferenceException, UriFormatException, OutOfMemoryException, ConfigurationErrorsException, MulticastNotSupportedException, InvalidCastException, NotSupportedException, MissingMethodException, TargetInvocationException, WebException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionUriFormatExceptionOutOfMemoryExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionInvalidCastExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionWebExceptionOverflowException
-
Download
public Stream Download(JCORefOut url, JCORefOut contentType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SecurityException, MemberAccessException, NullReferenceException, ConfigurationException, UriFormatException, OutOfMemoryException, ConfigurationErrorsException, MulticastNotSupportedException, InvalidCastException, NotSupportedException, MissingMethodException, FormatException, WebException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionConfigurationExceptionUriFormatExceptionOutOfMemoryExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionInvalidCastExceptionNotSupportedExceptionMissingMethodExceptionFormatExceptionWebExceptionOverflowException
-
ReadAll
public DiscoveryClientResultCollection ReadAll(java.lang.String topLevelFilename) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, ThreadAbortException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, MissingManifestResourceException, ConfigurationErrorsException, NotSupportedException, SecurityException, NotImplementedException, CultureNotFoundException, FormatException, InvalidEnumArgumentException, Win32Exception, RankException, FileNotFoundException, TypeLoadException, UnauthorizedAccessException, IOException, PathTooLongException, XmlException, MulticastNotSupportedException, OverflowException, WebException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionThreadAbortExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionNotSupportedExceptionSecurityExceptionNotImplementedExceptionCultureNotFoundExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionRankExceptionFileNotFoundExceptionTypeLoadExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionXmlExceptionMulticastNotSupportedExceptionOverflowExceptionWebException
-
WriteAll
public DiscoveryClientResultCollection WriteAll(java.lang.String directory, java.lang.String topLevelFilename) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, IndexOutOfRangeException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, SecurityException, OutOfMemoryException, ThreadAbortException, MissingManifestResourceException, ConfigurationErrorsException, NotImplementedException, InvalidEnumArgumentException, Win32Exception, RankException, TypeLoadException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionIndexOutOfRangeExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionObjectDisposedExceptionAbandonedMutexExceptionSecurityExceptionOutOfMemoryExceptionThreadAbortExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionNotImplementedExceptionInvalidEnumArgumentExceptionWin32ExceptionRankExceptionTypeLoadException
-
Discover
public DiscoveryDocument Discover(java.lang.String url) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, NotImplementedException, InvalidOperationException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, UriFormatException, OutOfMemoryException, ConfigurationErrorsException, NotSupportedException, WebException, OverflowException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionNotImplementedExceptionInvalidOperationExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionUriFormatExceptionOutOfMemoryExceptionConfigurationErrorsExceptionNotSupportedExceptionWebExceptionOverflowException
-
DiscoverAny
public DiscoveryDocument DiscoverAny(java.lang.String url) throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PathTooLongException, MemberAccessException, NotSupportedException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, SecurityException, HttpException, HttpRequestValidationException, UriFormatException, OutOfMemoryException, ConfigurationErrorsException, MulticastNotSupportedException, InvalidCastException, MissingMethodException, TargetInvocationException, FormatException, WebException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionNullReferenceExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPathTooLongExceptionMemberAccessExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionSecurityExceptionHttpExceptionHttpRequestValidationExceptionUriFormatExceptionOutOfMemoryExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionWebExceptionOverflowException
-
LoadExternals
public void LoadExternals() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ResolveAll
public void ResolveAll() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, UriFormatException, OutOfMemoryException, ConfigurationErrorsException, NotSupportedException, WebException, OverflowException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionUriFormatExceptionOutOfMemoryExceptionConfigurationErrorsExceptionNotSupportedExceptionWebExceptionOverflowException
-
ResolveOneLevel
public void ResolveOneLevel() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, NotImplementedException, InvalidOperationException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, SecurityException, UriFormatException, OutOfMemoryException, InvalidCastException, ConfigurationErrorsException, NotSupportedException, MissingMethodException, WebException, OverflowException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionNotImplementedExceptionInvalidOperationExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSecurityExceptionUriFormatExceptionOutOfMemoryExceptionInvalidCastExceptionConfigurationErrorsExceptionNotSupportedExceptionMissingMethodExceptionWebExceptionOverflowException
-
getAdditionalInformation
public IList getAdditionalInformation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDocuments
public DiscoveryClientDocumentCollection getDocuments() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReferences
public DiscoveryClientReferenceCollection getReferences() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getErrors
public DiscoveryExceptionDictionary getErrors() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-