Class URIRequest.Builder<B extends URIRequest.Builder<B>>

java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.webkitgtk.webprocessextension.URIRequest.Builder<B>
Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Enclosing class:
URIRequest

public static class URIRequest.Builder<B extends URIRequest.Builder<B>> extends GObject.Builder<B>
Inner class implementing a builder pattern to construct a GObject with properties.
  • Constructor Details

    • Builder

      protected Builder()
      Default constructor for a Builder object.
  • Method Details

    • build

      public URIRequest build()
      Finish building the URIRequest object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to URIRequest.
      Overrides:
      build in class GObject.Builder<B extends URIRequest.Builder<B>>
      Returns:
      a new instance of URIRequest with the properties that were set in the Builder object.
    • setUri

      public B setUri(String uri)
      The URI to which the request will be made.
      Parameters:
      uri - the value for the uri property
      Returns:
      the Builder instance is returned, to allow method chaining