public class HttpListener extends NetObject implements IDisposable, java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.HttpListener
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
static java.lang.String |
className
Qualified class name: System.Net.HttpListener
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HttpListener() |
HttpListener(java.lang.Object instance)
Internal constructor.
|
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringDispose, ToIDisposablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HttpListener()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
FormatException,
NotSupportedException,
ConfigurationException,
ConfigurationErrorsException,
OverflowException,
MulticastNotSupportedException,
OutOfMemoryException,
PlatformNotSupportedException,
ObjectDisposedException,
HttpListenerException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionObjectDisposedExceptionHttpListenerExceptionpublic HttpListener(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Abort()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
ConfigurationException,
ConfigurationErrorsException,
OverflowException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException
public IAsyncResult BeginGetContext(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, IndexOutOfRangeException, CultureNotFoundException, SecurityException, AccessViolationException, HttpListenerException, Win32Exception, ThreadAbortException, FormatException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionSecurityExceptionAccessViolationExceptionHttpListenerExceptionWin32ExceptionThreadAbortExceptionFormatExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic static HttpListener cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HttpListener, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHttpListener instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Close()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
ConfigurationException,
ConfigurationErrorsException,
OverflowException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException
public HttpListenerContext EndGetContext(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionpublic AuthenticationSchemes getAuthenticationSchemes() throws java.lang.Throwable
java.lang.Throwablepublic AuthenticationSchemeSelector getAuthenticationSchemeSelectorDelegate() throws java.lang.Throwable
java.lang.Throwablepublic HttpListenerContext GetContext() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, KeyNotFoundException, IndexOutOfRangeException, HttpListenerException, AbandonedMutexException, CultureNotFoundException, SecurityException, IOException, PlatformNotSupportedException, InvalidCastException, AccessViolationException, Win32Exception, ThreadAbortException, CryptographicException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionHttpListenerExceptionAbandonedMutexExceptionCultureNotFoundExceptionSecurityExceptionIOExceptionPlatformNotSupportedExceptionInvalidCastExceptionAccessViolationExceptionWin32ExceptionThreadAbortExceptionCryptographicExceptionFormatExceptionpublic ServiceNameCollection getDefaultServiceNames() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, UriFormatException, NotSupportedException
public ExtendedProtectionPolicy getExtendedProtectionPolicy() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIgnoreWriteExceptions()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsListening()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean getIsSupported()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDisposablegetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDisposablegetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDisposablegetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDisposablegetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDisposablegetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic HttpListenerPrefixCollection getPrefixes() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException
public java.lang.String getRealm()
throws java.lang.Throwable
java.lang.Throwablepublic HttpListenerTimeoutManager getTimeoutManager() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, HttpListenerException, ConfigurationException, ConfigurationErrorsException, MulticastNotSupportedException
public boolean getUnsafeConnectionNtlmAuthentication()
throws java.lang.Throwable
java.lang.Throwablepublic void setAuthenticationSchemes(AuthenticationSchemes AuthenticationSchemes) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
public void setAuthenticationSchemeSelectorDelegate(AuthenticationSchemeSelector AuthenticationSchemeSelectorDelegate) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
public void setExtendedProtectionPolicy(ExtendedProtectionPolicy ExtendedProtectionPolicy) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, MissingManifestResourceException, PlatformNotSupportedException, NotSupportedException, Win32Exception, ConfigurationException, InvalidCastException, ConfigurationErrorsException, MissingMethodException, TargetInvocationException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32ExceptionConfigurationExceptionInvalidCastExceptionConfigurationErrorsExceptionMissingMethodExceptionTargetInvocationExceptionpublic void setIgnoreWriteExceptions(boolean IgnoreWriteExceptions)
throws java.lang.Throwable,
ObjectDisposedException
java.lang.ThrowableObjectDisposedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setRealm(java.lang.String Realm)
throws java.lang.Throwable,
ObjectDisposedException
java.lang.ThrowableObjectDisposedExceptionpublic void setUnsafeConnectionNtlmAuthentication(boolean UnsafeConnectionNtlmAuthentication)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
FormatException
java.lang.ThrowableObjectDisposedExceptionArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionpublic void Start()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
ConfigurationException,
ConfigurationErrorsException,
OverflowException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
HttpListenerException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionHttpListenerExceptionpublic void Stop()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
ConfigurationException,
ConfigurationErrorsException,
OverflowException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException,
ObjectDisposedException