Package system.net
Class CookieCollection
- java.lang.Object
- 
- org.mases.jcobridge.netreflection.NetObject
- 
- org.mases.jcobridge.netreflection.NetObjectEnumerable
- 
- system.net.CookieCollection
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<NetObject>,- IEnumerable,- IJCOBridgeReflected
 
 public class CookieCollection extends NetObjectEnumerable The base .NET class managing System.Net.CookieCollection, System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.CookieCollection Powered by JCOBridge: more info at https://www.jcobridge.com - Author:
- MASES s.r.l https://masesgroup.com
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Net.Primitivesstatic java.lang.StringclassNameQualified class name: System.Net.CookieCollectionstatic JCTypeclassTypeThe type managed from JCOBridge.- 
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerableNull
 
- 
 - 
Constructor SummaryConstructors Constructor Description CookieCollection()CookieCollection(java.lang.Object instance)Internal constructor.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAdd(Cookie cookie)voidAdd(CookieCollection cookies)static CookieCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoCookieCollection, a cast assert is made to check if types are compatible.voidClear()booleanContains(Cookie cookie)voidCopyTo(Array array, int index)voidCopyTo(Cookie[] array, int index)intgetCount()booleangetIsReadOnly()booleangetIsSynchronized()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 TypeNetObjectgetSyncRoot()booleanRemove(Cookie cookie)voidsetJCOInstance(JCObject instance)- 
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerableGetEnumerator, iterator
 
- 
 
- 
- 
- 
Field Detail- 
assemblyFullNamepublic static final java.lang.String assemblyFullName Fully assembly qualified name: System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
 
 - 
assemblyShortNamepublic static final java.lang.String assemblyShortName Assembly name: System.Net.Primitives- See Also:
- Constant Field Values
 
 - 
classNamepublic static final java.lang.String className Qualified class name: System.Net.CookieCollection- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getJCOAssemblyNamepublic java.lang.String getJCOAssemblyName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
- getJCOAssemblyNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOAssemblyNamein class- NetObjectEnumerable
- Returns:
- A Stringrepresenting the Fullname of reflected Assembly
 
 - 
getJCOClassNamepublic java.lang.String getJCOClassName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
- getJCOClassNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOClassNamein class- NetObjectEnumerable
- Returns:
- A Stringrepresenting the Fullname of reflected Class
 
 - 
getJCOObjectNamepublic java.lang.String getJCOObjectName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
- getJCOObjectNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOObjectNamein class- NetObjectEnumerable
- Returns:
- A Stringrepresenting the name used to allocated the object in CLR context
 
 - 
getJCOInstancepublic java.lang.Object getJCOInstance() Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
- getJCOInstancein interface- IJCOBridgeReflected
- Overrides:
- getJCOInstancein class- NetObjectEnumerable
- Returns:
- An Objectrepresenting the CLR instance of the instantiated Class
 
 - 
setJCOInstancepublic void setJCOInstance(JCObject instance) - Overrides:
- setJCOInstancein class- NetObjectEnumerable
 
 - 
getJCOTypepublic JCType getJCOType() Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
- getJCOTypein interface- IJCOBridgeReflected
- Overrides:
- getJCOTypein class- NetObjectEnumerable
- Returns:
- A JCTyperepresenting the CLR Type of the instantiated Class
 
 - 
castpublic static CookieCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable Try to cast theIJCOBridgeReflectedinstance intoCookieCollection, a cast assert is made to check if types are compatible.- Parameters:
- from-- IJCOBridgeReflectedinstance to be casted
- Returns:
- CookieCollectioninstance
- Throws:
- java.lang.Throwable- in case of error during cast operation
 
 - 
Containspublic boolean Contains(Cookie cookie) throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException 
 - 
Removepublic boolean Remove(Cookie cookie) throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException - Throws:
- java.lang.Throwable
- ArgumentException
- CultureNotFoundException
- PlatformNotSupportedException
- NullReferenceException
- NotSupportedException
- OutOfMemoryException
- ExternalException
- ArgumentNullException
- ArgumentOutOfRangeException
- InvalidOperationException
- RankException
- IndexOutOfRangeException
- ArrayTypeMismatchException
- InvalidCastException
 
 - 
Addpublic void Add(Cookie cookie) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException - Throws:
- java.lang.Throwable
- ArgumentException
- ArgumentOutOfRangeException
- PlatformNotSupportedException
- NotSupportedException
- ObjectDisposedException
- InvalidOperationException
- RankException
- ArrayTypeMismatchException
- ArgumentNullException
- CultureNotFoundException
- NullReferenceException
- OutOfMemoryException
- ExternalException
 
 - 
Addpublic void Add(CookieCollection cookies) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, IndexOutOfRangeException - Throws:
- java.lang.Throwable
- ArgumentException
- ArgumentOutOfRangeException
- PlatformNotSupportedException
- NotSupportedException
- ObjectDisposedException
- InvalidOperationException
- RankException
- ArrayTypeMismatchException
- ArgumentNullException
- NullReferenceException
- OutOfMemoryException
- ExternalException
- CultureNotFoundException
- IndexOutOfRangeException
 
 - 
Clearpublic void Clear() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
 - 
CopyTopublic void CopyTo(Array array, int index) throws java.lang.Throwable - Throws:
- java.lang.Throwable
 
 - 
CopyTopublic void CopyTo(Cookie[] array, int index) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArrayTypeMismatchException, InvalidCastException 
 - 
getIsReadOnlypublic boolean getIsReadOnly() throws java.lang.Throwable- Throws:
- java.lang.Throwable
 
 - 
getIsSynchronizedpublic boolean getIsSynchronized() throws java.lang.Throwable- Throws:
- java.lang.Throwable
 
 - 
getCountpublic int getCount() throws java.lang.Throwable- Throws:
- java.lang.Throwable
 
 - 
getSyncRootpublic NetObject getSyncRoot() throws java.lang.Throwable - Throws:
- java.lang.Throwable
 
 
- 
 
-