Class AuthDigest

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public final class AuthDigest extends Auth

HTTP "Digest" authentication.

Sessions support this by default; if you want to disable support for it, call Session.removeFeatureByType(Type) passing SOUP_TYPE_AUTH_DIGEST.

  • Constructor Details

    • AuthDigest

      public AuthDigest(MemorySegment address)
      Create a AuthDigest instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • AuthDigest

      public AuthDigest()
      Create a new AuthDigest.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the AuthDigest class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected AuthDigest asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class Auth
      Returns:
      the instance as if it were its parent type
    • builder

      public static AuthDigest.Builder<? extends AuthDigest.Builder> builder()
      A AuthDigest.Builder object constructs a AuthDigest with the specified properties. Use the various set...() methods to set properties, and finish construction with AuthDigest.Builder.build().
      Returns:
      the builder object