org.rococoa.cocoa.webkit
Class NPStream

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by 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.


Nested Class Summary
static class NPStream.ByReference
           
static class NPStream.ByValue
           
 
Field Summary
 int end
           
 ByteByReference headers
          Response headers from host.
 int lastmodified
           
 Pointer ndata
           
 Pointer notifyData
           
 Pointer pdata
           
 ByteByReference url
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
NPStream()
           
NPStream(Pointer pdata, Pointer ndata, ByteByReference url, int end, int lastmodified, Pointer notifyData, ByteByReference headers)
           
 
Method Summary
 NPStream.ByReference byReference()
           
 NPStream.ByValue byValue()
           
 NPStream clone()
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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).

Constructor Detail

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).
Method Detail

byReference

public NPStream.ByReference byReference()

byValue

public NPStream.ByValue byValue()

clone

public NPStream clone()
Overrides:
clone in class Object