org.rococoa.cocoa.webkit
Class NPStream
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
org.rococoa.cocoa.webkit.NPStream
- Direct Known Subclasses:
- NPStream.ByReference, NPStream.ByValue
public class NPStream
- extends com.ochafik.lang.jnaerator.runtime.Structure
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure |
setupClone |
Methods inherited from class com.sun.jna.Structure |
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField |
pdata
public Pointer pdata
ndata
public Pointer ndata
url
public ByteByReference url
end
public int end
lastmodified
public int lastmodified
notifyData
public Pointer notifyData
headers
public ByteByReference headers
- Response headers from host.
Exists only for >= NPVERS_HAS_RESPONSE_HEADERS.
Used for HTTP only; NULL for non-HTTP.
Available from NPP_NewStream onwards.
Plugin should copy this data before storing it.
Includes HTTP status line and all headers,
preferably verbatim as received from server,
headers formatted as in HTTP ("Header: Value"),
and newlines (\n, NOT \r\n) separating lines.
Terminated by \n\0 (NOT \n\n\0).
NPStream
public NPStream()
NPStream
public NPStream(Pointer pdata,
Pointer ndata,
ByteByReference url,
int end,
int lastmodified,
Pointer notifyData,
ByteByReference headers)
- Parameters:
pdata
- plug-in private data
ndata
- netscape private data
headers
- Response headers from host.
Exists only for >= NPVERS_HAS_RESPONSE_HEADERS.
Used for HTTP only; NULL for non-HTTP.
Available from NPP_NewStream onwards.
Plugin should copy this data before storing it.
Includes HTTP status line and all headers,
preferably verbatim as received from server,
headers formatted as in HTTP ("Header: Value"),
and newlines (\n, NOT \r\n) separating lines.
Terminated by \n\0 (NOT \n\n\0).
byReference
public NPStream.ByReference byReference()
byValue
public NPStream.ByValue byValue()
clone
public NPStream clone()
- Overrides:
clone
in class Object