- Hands-On Spring Security 5 for Reactive Applications
- Tomcy John
- 41字
- 2021-07-23 18:59:13
The Subscription interface
The definition of this interface is as follows:
public interface Subscription {
public void request(long n);
public void cancel();
}
The method request is for accepting requests for items and method cancel is for when Subscription is cancelled.