Module org.refcodes.web
Package org.refcodes.web
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 Summary
Modifier and TypeMethodDescriptiononBasicAuthRequest
(BasicAuthObserver aObserver) Registers theBasicAuthObserver
to handle incoming HTTP basic authentication requests.
-
Method Details
-
onBasicAuthRequest
Registers theBasicAuthObserver
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
-