public final class CookieHolder extends Object implements Streamable
| Constructor | Description | 
|---|---|
| CookieHolder() | |
| CookieHolder(Object initial) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | _read(InputStream is) | Reads data from  istreamand initalizes thevaluefield of the Holder with the unmarshalled data. | 
| TypeCode | _type() | Retrieves the  TypeCodeobject corresponding to the value
 in thevaluefield of the Holder. | 
| void | _write(OutputStream os) | Marshals to  ostreamthe value in thevaluefield of the Holder. | 
public Object value
public CookieHolder()
public CookieHolder(Object initial)
public void _read(InputStream is)
Streamableistream and initalizes the
 value field of the Holder with the unmarshalled data._read in interface Streamableis - the InputStream that represents the CDR data from the wire.public void _write(OutputStream os)
Streamableostream the value in the
 value field of the Holder._write in interface Streamableos - the CDR OutputStreampublic TypeCode _type()
StreamableTypeCode object corresponding to the value
 in the value field of the Holder._type in interface StreamableTypeCode object for the value held in the holder Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.