public class WinHttpProxyInfo
extends com.sun.jna.Structure
| Modifier and Type | Class and Description |
|---|---|
static class |
WinHttpProxyInfo.ByReference
Tagging interface to indicate the address of an instance of the Structure
type is to be used within a
Structure definition rather than
nesting the full Structure contents. |
static class |
WinHttpProxyInfo.ByValue
Tagging interface to indicate the value of an instance of the
Structure type is to be used in function invocations rather
than its address. |
| Modifier and Type | Field and Description |
|---|---|
com.sun.jna.platform.win32.WinDef.DWORD |
dwAccessType
Unsigned long integer value that contains the access type.
|
com.sun.jna.platform.win32.WTypes.LPWSTR |
lpszProxy
Pointer to a string value that contains the proxy server list.
|
com.sun.jna.platform.win32.WTypes.LPWSTR |
lpszProxyBypass
Pointer to a string value that contains the proxy bypass list.
|
| Constructor and Description |
|---|
WinHttpProxyInfo()
Create WinHttpProxyInfo structure.
|
WinHttpProxyInfo(com.sun.jna.Pointer pointer)
Create WinHttpProxyInfo structure cast onto pre-allocated memory.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeFieldpublic com.sun.jna.platform.win32.WinDef.DWORD dwAccessType
public com.sun.jna.platform.win32.WTypes.LPWSTR lpszProxy
public com.sun.jna.platform.win32.WTypes.LPWSTR lpszProxyBypass
public WinHttpProxyInfo()
public WinHttpProxyInfo(com.sun.jna.Pointer pointer)
pointer - pointer to pre-allocated memoryprotected List<String> getFieldOrder()
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT When deriving from an existing Structure
subclass, ensure that you augment the list provided by the superclass,
e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the field order as
returned by Class.getFields() is not guaranteed to be
predictable.getFieldOrder in class com.sun.jna.StructureCopyright © 2023. All rights reserved.