Package org.gnome.soup
Class AuthDomainDigest.Builder<B extends AuthDomainDigest.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.soup.AuthDomain.Builder<B>
org.gnome.soup.AuthDomainDigest.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
AuthDomainDigest
public static class AuthDomainDigest.Builder<B extends AuthDomainDigest.Builder<B>>
extends AuthDomain.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finish building theAuthDomainDigestobject.setAuthCallback(AuthDomainDigestAuthCallback authCallback) TheAuthDomainDigestAuthCallback.setAuthData(MemorySegment authData) The data to pass to theAuthDomainDigestAuthCallback.Methods inherited from class org.gnome.soup.AuthDomain.Builder
setFilter, setFilterData, setGenericAuthCallback, setGenericAuthData, setProxy, setRealmMethods inherited from class org.gnome.gobject.GObject.Builder
onNotifyMethods inherited from class org.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilderobject.
-
-
Method Details
-
build
Finish building theAuthDomainDigestobject. This will callGObject.withProperties(org.gnome.glib.Type, java.lang.String[], org.gnome.gobject.Value[])to create a new GObject instance, which is then cast toAuthDomainDigest.- Overrides:
buildin classAuthDomain.Builder<B extends AuthDomainDigest.Builder<B>>- Returns:
- a new instance of
AuthDomainDigestwith the properties that were set in the Builder object.
-
setAuthCallback
TheAuthDomainDigestAuthCallback.- Parameters:
authCallback- the value for theauth-callbackproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
setAuthData
The data to pass to theAuthDomainDigestAuthCallback.- Parameters:
authData- the value for theauth-dataproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-