Interface SessionFeature

All Superinterfaces:
Proxy
All Known Implementing Classes:
AuthManager, Cache, ContentDecoder, ContentSniffer, CookieJar, CookieJarDB, CookieJarText, HSTSEnforcer, HSTSEnforcerDB, Logger, SessionFeature.SessionFeature$Impl, WebsocketExtensionManager

@Generated("org.javagi.JavaGI") public interface SessionFeature extends Proxy

Interface for miscellaneous Session features.

SessionFeature is the interface used by classes that extend the functionality of a Session. Some features like HTTP authentication handling are implemented internally via SessionFeatures. Other features can be added to the session by the application. (Eg, Logger, CookieJar.)

See Session.addFeature(SessionFeature), etc, to add a feature to a session.

  • Method Details

    • getType

      static @Nullable Type getType()
      Get the GType of the SessionFeature class.
      Returns:
      the GType