Interface BasicAuthObservable<B extends BasicAuthObservable<B>>

Type Parameters:
B - the generic type

public interface BasicAuthObservable<B extends BasicAuthObservable<B>>
An observable which notifies the registered BasicAuthObserver on incoming HTTP Basic-Authentication requests. Possible extension (idea): Provide means to add multiple BasicAuthObserver instances and invoke them as of their locator pattern (provide an additional locator argument and an "BasicAuthEndpoint" class).
  • Method Details

    • onBasicAuthRequest

      B onBasicAuthRequest(BasicAuthObserver aObserver)
      Registers the BasicAuthObserver to handle incoming HTTP basic authentication requests.
      Parameters:
      aObserver - The observer to handle incoming HTTP basic authentication requests.
      Returns:
      the implementing instance as of the builder pattern