CookieHolder (Java SE 10 & JDK 10 )
Keywords: org.omg.PortableServer.ServantLocatorPackage.CookieHolder class

Module java.corba
Package org.omg.PortableServer.ServantLocatorPackage

## Class CookieHolder

- java.lang.Object
- - org.omg.PortableServer.ServantLocatorPackage.CookieHolder

- All Implemented Interfaces:
    `Streamable`

      public final class CookieHolder
      extends Object
      implements Streamable

  The native type PortableServer::ServantLocator::Cookie is mapped to java.lang.Object. A CookieHolder class is provided for passing the Cookie type as an out parameter. The CookieHolder class follows exactly the same pattern as the other holder classes for basic types.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `Object` | `value` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CookieHolder()` |
    `CookieHolder​(Object initial)` |

  - ### Method Summary

    - ### Methods declared in class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods declared in interface org.omg.CORBA.portable.Streamable

      `_read, _type, _write`

- - ### Field Detail

    - #### value

          public Object value

  - ### Constructor Detail

    - #### CookieHolder

          public CookieHolder()

    - #### CookieHolder

          public CookieHolder​(Object initial)