Package ch.bailu.gtk.gio
Klasse ProxyResolver
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.type.Interface
ch.bailu.gtk.gio.ProxyResolver
- Alle implementierten Schnittstellen:
PointerInterface
`GProxyResolver` provides synchronous and asynchronous network proxy
resolution. `GProxyResolver` is used within [class@Gio.SocketClient] through
the method [method@Gio.SocketConnectable.proxy_enumerate].
Implementations of `GProxyResolver` based on
[libproxy](https://github.com/libproxy/libproxy) and GNOME settings can be
found in [glib-networking](https://gitlab.gnome.org/GNOME/glib-networking).
GIO comes with an implementation for use inside Flatpak portals.
resolution. `GProxyResolver` is used within [class@Gio.SocketClient] through
the method [method@Gio.SocketConnectable.proxy_enumerate].
Implementations of `GProxyResolver` based on
[libproxy](https://github.com/libproxy/libproxy) and GNOME settings can be
found in [glib-networking](https://gitlab.gnome.org/GNOME/glib-networking).
GIO comes with an implementation for use inside Flatpak portals.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
static ProxyResolver
Gets the default #GProxyResolver for the system.static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
boolean
Checks if @resolver can be used on this system.void
lookupAsync
(Str uri, Cancellable cancellable, ProxyResolver.OnAsyncReadyCallback callback, Pointer user_data) Asynchronous lookup of proxy.void
lookupAsync
(String uri, Cancellable cancellable, ProxyResolver.OnAsyncReadyCallback callback, Pointer user_data) Asynchronous lookup of proxy.Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
ProxyResolver
-
-
Methodendetails
-
getClassHandler
-
isSupported
public boolean isSupported()Checks if @resolver can be used on this system. (This is used
internally; g_proxy_resolver_get_default() will only return a proxy
resolver that returns %TRUE for this method.)- Gibt zurück:
- %TRUE if @resolver is supported.
-
lookupAsync
public void lookupAsync(@Nonnull Str uri, @Nullable Cancellable cancellable, ProxyResolver.OnAsyncReadyCallback callback, @Nullable Pointer user_data) Asynchronous lookup of proxy. See g_proxy_resolver_lookup() for more
details.- Parameter:
uri
- a URI representing the destination to connect tocancellable
- a #GCancellable, or %NULLcallback
- callback to call after resolution completesuser_data
- data for @callback
-
lookupAsync
public void lookupAsync(String uri, @Nullable Cancellable cancellable, ProxyResolver.OnAsyncReadyCallback callback, @Nullable Pointer user_data) Asynchronous lookup of proxy. See g_proxy_resolver_lookup() for more
details.- Parameter:
uri
- a URI representing the destination to connect tocancellable
- a #GCancellable, or %NULLcallback
- callback to call after resolution completesuser_data
- data for @callback
-
getDefault
Gets the default #GProxyResolver for the system.- Gibt zurück:
- the default #GProxyResolver, which will be a dummy object if no proxy resolver is available
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-