Package org.gnome.soup
Class AuthDomain.Builder<B extends AuthDomain.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.soup.AuthDomain.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Direct Known Subclasses:
AuthDomainBasic.Builder,AuthDomainDigest.Builder
- Enclosing class:
AuthDomain
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finish building theAuthDomainobject.setFilter(AuthDomainFilter filter) TheAuthDomainFilterfor the domain.setFilterData(MemorySegment filterData) Data to pass to theAuthDomainFilter.setGenericAuthCallback(AuthDomainGenericAuthCallback genericAuthCallback) TheAuthDomainGenericAuthCallback.setGenericAuthData(MemorySegment genericAuthData) The data to pass to theAuthDomainGenericAuthCallback.setProxy(boolean proxy) Whether or not this is a proxy auth domain.The realm of this auth domain.Methods 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 theAuthDomainobject. 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 toAuthDomain.- Overrides:
buildin classGObject.Builder<B extends AuthDomain.Builder<B>>- Returns:
- a new instance of
AuthDomainwith the properties that were set in the Builder object.
-
setFilter
TheAuthDomainFilterfor the domain.- Parameters:
filter- the value for thefilterproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
setFilterData
Data to pass to theAuthDomainFilter.- Parameters:
filterData- the value for thefilter-dataproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
setGenericAuthCallback
TheAuthDomainGenericAuthCallback.- Parameters:
genericAuthCallback- the value for thegeneric-auth-callbackproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
setGenericAuthData
The data to pass to theAuthDomainGenericAuthCallback.- Parameters:
genericAuthData- the value for thegeneric-auth-dataproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
setProxy
Whether or not this is a proxy auth domain.- Parameters:
proxy- the value for theproxyproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
setRealm
-