Created
September 14, 2019 20:06
-
-
Save MAAARKIN/566e0239279f8f7b075bc3bcd49f6240 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum TypeInterceptor { | |
LOG(new LogHeimdallInterceptor()), | |
MOCK(new MockHeimdallInterceptor()), | |
RATTING(new RattingHeimdallInterceptor()), | |
ACCESS_TOKEN(new AccessTokenHeimdallInterceptor()), | |
CLIENT_ID(new ClientIdHeimdallInterceptor()), | |
CUSTOM(new CustomHeimdallInterceptor()), | |
MIDDLEWARE(new MiddlewareHeimdallInterceptor()), | |
OAUTH(new OAuthHeimdallInterceptor()), | |
BLACKLIST(new BlacklistHeimdallInterceptor()), | |
WHITELIST(new WhitelistHeimdallInterceptor()); | |
private HeimdallInterceptor heimdallInterceptor; | |
TypeInterceptor(HeimdallInterceptor heimdallInterceptor) { | |
this.heimdallInterceptor = heimdallInterceptor; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment