Class WebsocketExtensionManager
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeInstance
org.gnome.gobject.GObject
org.gnome.soup.WebsocketExtensionManager
- All Implemented Interfaces:
SessionFeature, Proxy
@Generated("org.javagi.JavaGI")
public final class WebsocketExtensionManager
extends GObject
implements SessionFeature
SoupWebsocketExtensionManager is the SessionFeature that handles WebSockets
extensions for a Session.
A WebsocketExtensionManager is added to the session by default, and normally
you don't need to worry about it at all. However, if you want to
disable WebSocket extensions, you can remove the feature from the
session with Session.removeFeatureByType(Type) or disable it on
individual requests with Message.disableFeature(Type).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classInner class implementing a builder pattern to construct a GObject with properties.static classNested classes/interfaces inherited from class GObject
GObject.NotifyCallback, GObject.ObjectClassNested classes/interfaces inherited from interface SessionFeature
SessionFeature.SessionFeature$Impl, SessionFeature.SessionFeatureInterface -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new WebsocketExtensionManager.WebsocketExtensionManager(MemorySegment address) Create a WebsocketExtensionManager instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionprotected WebsocketExtensionManagerasParent()Return this instance as if it were its parent type.static WebsocketExtensionManager.Builder<? extends WebsocketExtensionManager.Builder> builder()AWebsocketExtensionManager.Builderobject constructs aWebsocketExtensionManagerwith the specified properties.static MemoryLayoutThe memory layout of the native struct.static @Nullable TypegetType()Get the GType of the WebsocketExtensionManager class.Methods inherited from class GObject
addToggleRef, addWeakPointer, bindProperty, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, connect, constructed, disconnect, dispatchPropertiesChanged, dispose, dupData, dupQdata, emit, emitNotify, finalize_, forceFloating, freezeNotify, get, getData, getProperty, getProperty, getProperty, getQdata, getv, interfaceFindProperty, interfaceInstallProperty, interfaceListProperties, isFloating, newInstance, newInstance, newv, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, removeWeakPointer, replaceData, replaceQdata, runDispose, set, setData, setDataFull, setProperty, setProperty, setProperty, setQdata, setQdataFull, setv, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref, withPropertiesMethods inherited from class TypeInstance
callParent, callParent, cast, getPrivate, readGClass, writeGClassMethods inherited from class ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
WebsocketExtensionManager
Create a WebsocketExtensionManager instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
WebsocketExtensionManager
public WebsocketExtensionManager()Create a new WebsocketExtensionManager.
-
-
Method Details
-
getType
Get the GType of the WebsocketExtensionManager class.- Returns:
- the GType
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
asParent
Return this instance as if it were its parent type. Comparable to the Javasuperkeyword, but ensures the parent typeclass is also used in native code. -
builder
public static WebsocketExtensionManager.Builder<? extends WebsocketExtensionManager.Builder> builder()AWebsocketExtensionManager.Builderobject constructs aWebsocketExtensionManagerwith the specified properties. Use the variousset...()methods to set properties, and finish construction withWebsocketExtensionManager.Builder.build().- Returns:
- the builder object
-