Package system.servicemodel
Class NetHttpBinding
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.servicemodel.channels.Binding
-
- system.servicemodel.HttpBindingBase
-
- system.servicemodel.NetHttpBinding
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class NetHttpBinding extends HttpBindingBase
The base .NET class managing System.ServiceModel.NetHttpBinding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.NetHttpBinding
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.String
assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.ServiceModelstatic java.lang.String
className
Qualified class name: System.ServiceModel.NetHttpBindingstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description NetHttpBinding()
NetHttpBinding(java.lang.Object instance)
Internal constructor.NetHttpBinding(java.lang.String configurationName)
NetHttpBinding(BasicHttpSecurityMode securityMode)
NetHttpBinding(BasicHttpSecurityMode securityMode, boolean reliableSessionEnabled)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetHttpBinding
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoNetHttpBinding
, a cast assert is made to check if types are compatible.BindingElementCollection
CreateBindingElements()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class TypeNetHttpMessageEncoding
getMessageEncoding()
OptionalReliableSession
getReliableSession()
BasicHttpSecurity
getSecurity()
WebSocketTransportSettings
getWebSocketSettings()
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
setMessageEncoding(NetHttpMessageEncoding MessageEncoding)
void
setReliableSession(OptionalReliableSession ReliableSession)
void
setSecurity(BasicHttpSecurity Security)
boolean
ShouldSerializeReliableSession()
boolean
ShouldSerializeSecurity()
-
Methods inherited from class system.servicemodel.HttpBindingBase
getAllowCookies, getBypassProxyOnLocal, getEnvelopeVersion, getHostNameComparisonMode, getMaxBufferPoolSize, getMaxBufferSize, getMaxReceivedMessageSize, getProxyAddress, getReaderQuotas, getTextEncoding, getTransferMode, getUseDefaultWebProxy, setAllowCookies, setBypassProxyOnLocal, setHostNameComparisonMode, setMaxBufferPoolSize, setMaxBufferSize, setMaxReceivedMessageSize, setProxyAddress, setReaderQuotas, setTextEncoding, setTransferMode, setUseDefaultWebProxy, ShouldSerializeReaderQuotas, ShouldSerializeTextEncoding
-
Methods inherited from class system.servicemodel.channels.Binding
getCloseTimeout, getMessageVersion, getName, getNamespace, getOpenTimeout, getReceiveTimeout, getScheme, getSendTimeout, setCloseTimeout, setName, setNamespace, setOpenTimeout, setReceiveTimeout, setSendTimeout, ShouldSerializeName, ShouldSerializeNamespace
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.ServiceModel- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ServiceModel.NetHttpBinding- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
NetHttpBinding
public NetHttpBinding(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
NetHttpBinding
public NetHttpBinding() throws java.lang.Throwable, ArgumentException, ArgumentNullException, OutOfMemoryException, NotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
OutOfMemoryException
NotSupportedException
ArgumentOutOfRangeException
-
NetHttpBinding
public NetHttpBinding(BasicHttpSecurityMode securityMode) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException
-
NetHttpBinding
public NetHttpBinding(BasicHttpSecurityMode securityMode, boolean reliableSessionEnabled) throws java.lang.Throwable, ArgumentException, ArgumentNullException, OutOfMemoryException, NotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
OutOfMemoryException
NotSupportedException
ArgumentOutOfRangeException
-
NetHttpBinding
public NetHttpBinding(java.lang.String configurationName) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, KeyNotFoundException, ConfigurationException, TypeLoadException, ConfigurationErrorsException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
ArgumentNullException
MissingManifestResourceException
OutOfMemoryException
InvalidOperationException
NotSupportedException
ArgumentOutOfRangeException
KeyNotFoundException
ConfigurationException
TypeLoadException
ConfigurationErrorsException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classHttpBindingBase
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classHttpBindingBase
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classHttpBindingBase
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classHttpBindingBase
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classHttpBindingBase
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classHttpBindingBase
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static NetHttpBinding cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoNetHttpBinding
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
NetHttpBinding
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
ShouldSerializeReliableSession
public boolean ShouldSerializeReliableSession() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ShouldSerializeSecurity
public boolean ShouldSerializeSecurity() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateBindingElements
public BindingElementCollection CreateBindingElements() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, IndexOutOfRangeException, MulticastNotSupportedException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException
- Overrides:
CreateBindingElements
in classBinding
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ThreadAbortException
ArgumentNullException
MissingMethodException
TargetInvocationException
NotSupportedException
IndexOutOfRangeException
MulticastNotSupportedException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
ConfigurationErrorsException
OverflowException
SecurityException
OutOfMemoryException
-
getSecurity
public BasicHttpSecurity getSecurity() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSecurity
public void setSecurity(BasicHttpSecurity Security) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException
-
getWebSocketSettings
public WebSocketTransportSettings getWebSocketSettings() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMessageEncoding
public NetHttpMessageEncoding getMessageEncoding() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMessageEncoding
public void setMessageEncoding(NetHttpMessageEncoding MessageEncoding) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReliableSession
public OptionalReliableSession getReliableSession() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setReliableSession
public void setReliableSession(OptionalReliableSession ReliableSession) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException, OutOfMemoryException
-
-