A C F G H I J K L R S U V 
All Classes All Packages

A

ADDRESS - com.networknt.limit.LimitKey
 
AkamaiAddressKeyResolver - Class in com.networknt.limit.key
When light-gateway is used for external clients and all external requests go through the Akamai cloud proxy, the real client IP can be retrieved from the header as True-Client-IP
AkamaiAddressKeyResolver() - Constructor for class com.networknt.limit.key.AkamaiAddressKeyResolver
 

C

CLIENT - com.networknt.limit.LimitKey
 
com.networknt.limit - package com.networknt.limit
 
com.networknt.limit.key - package com.networknt.limit.key
 
config - Variable in class com.networknt.limit.RateLimiter
 
config - Static variable in class com.networknt.limit.RequestLimit
 
CONFIG_NAME - Static variable in class com.networknt.limit.LimitConfig
 

F

fromValue(String) - Static method in enum com.networknt.limit.LimitKey
 

G

getAddress() - Method in class com.networknt.limit.LimitConfig
 
getAddressKeyResolver() - Method in class com.networknt.limit.LimitConfig
 
getAddressList() - Method in class com.networknt.limit.LimitConfig
 
getClient() - Method in class com.networknt.limit.LimitConfig
 
getClientIdKeyResolver() - Method in class com.networknt.limit.LimitConfig
 
getClientList() - Method in class com.networknt.limit.LimitConfig
 
getConcurrentRequest() - Method in class com.networknt.limit.LimitConfig
 
getErrorCode() - Method in class com.networknt.limit.LimitConfig
 
getFailureHandler() - Method in class com.networknt.limit.RequestLimit
 
getHeaders() - Method in class com.networknt.limit.RateLimitResponse
 
getKey() - Method in class com.networknt.limit.LimitConfig
 
getMaximumConcurrentRequests() - Method in class com.networknt.limit.RequestLimit
Get the maximum concurrent requests.
getNext() - Method in class com.networknt.limit.LimitHandler
 
getQueueSize() - Method in class com.networknt.limit.LimitConfig
 
getRateLimit() - Method in class com.networknt.limit.LimitConfig
 
getServer() - Method in class com.networknt.limit.LimitConfig
 
getUnit() - Method in class com.networknt.limit.LimitQuota
 
getUser() - Method in class com.networknt.limit.LimitConfig
 
getUserIdKeyResolver() - Method in class com.networknt.limit.LimitConfig
 
getUserList() - Method in class com.networknt.limit.LimitConfig
 
getValue() - Method in class com.networknt.limit.LimitQuota
 

H

handleRequest(HttpServerExchange) - Method in class com.networknt.limit.LimitHandler
 
handleRequest(HttpServerExchange, LimitKey) - Method in class com.networknt.limit.RateLimiter
 
handleRequest(HttpServerExchange, HttpHandler) - Method in class com.networknt.limit.RequestLimit
 

I

isAllow() - Method in class com.networknt.limit.RateLimitResponse
 
isAllowByServer(String) - Method in class com.networknt.limit.RateLimiter
Handle logic for Server type (key = server) rate limit
isAllowDirect(String, String, String) - Method in class com.networknt.limit.RateLimiter
Handle logic for direct rate limit setting for address, client and user.
isEnabled() - Method in class com.networknt.limit.LimitConfig
 
isEnabled() - Method in class com.networknt.limit.LimitHandler
 

J

JwtClientIdKeyResolver - Class in com.networknt.limit.key
When the rate limit handler is located after the JwtVerifierHandler in the request/response chain, we can get the client_id claim from the JWT token from the auditInfo object from the exchange attachment.
JwtClientIdKeyResolver() - Constructor for class com.networknt.limit.key.JwtClientIdKeyResolver
 
JwtHeaderClientIdKeyResolver - Class in com.networknt.limit.key
This is a customized KeyResolver for one of our customers on the external gateway in the DMZ.
JwtHeaderClientIdKeyResolver() - Constructor for class com.networknt.limit.key.JwtHeaderClientIdKeyResolver
 
JwtUserIdKeyResolver - Class in com.networknt.limit.key
When user is selected as the key, we can get the user_id from the JWT claim.
JwtUserIdKeyResolver() - Constructor for class com.networknt.limit.key.JwtUserIdKeyResolver
 

K

KeyResolver - Interface in com.networknt.limit.key
When rate limit is used, we need to define a key to identify a unique client or a unique IP address.

L

LimitConfig - Class in com.networknt.limit
Config class for limit module
LimitHandler - Class in com.networknt.limit
A handler which limits the maximum number of concurrent requests.
LimitHandler() - Constructor for class com.networknt.limit.LimitHandler
 
LimitHandler(LimitConfig) - Constructor for class com.networknt.limit.LimitHandler
Deprecated.
LimitKey - Enum in com.networknt.limit
 
LimitQuota - Class in com.networknt.limit
 
LimitQuota() - Constructor for class com.networknt.limit.LimitQuota
 
LimitQuota(int, TimeUnit) - Constructor for class com.networknt.limit.LimitQuota
 
LimitQuota(String) - Constructor for class com.networknt.limit.LimitQuota
 

R

RateLimiter - Class in com.networknt.limit
Rate limit logic for light-4j framework.
RateLimiter(LimitConfig) - Constructor for class com.networknt.limit.RateLimiter
Load config and initial model by Rate limit key.
RateLimitResponse - Class in com.networknt.limit
 
RateLimitResponse(boolean, Map<String, String>) - Constructor for class com.networknt.limit.RateLimitResponse
 
register() - Method in class com.networknt.limit.LimitHandler
 
reload() - Method in class com.networknt.limit.LimitHandler
 
RemoteAddressKeyResolver - Class in com.networknt.limit.key
When address is used as the key, we can get the IP address from the header of the request.
RemoteAddressKeyResolver() - Constructor for class com.networknt.limit.key.RemoteAddressKeyResolver
 
RequestLimit - Class in com.networknt.limit
Represents a limit on a number of running requests.
RequestLimit(int) - Constructor for class com.networknt.limit.RequestLimit
 
RequestLimit(int, int) - Constructor for class com.networknt.limit.RequestLimit
Construct a new instance.
resolve(HttpServerExchange) - Method in class com.networknt.limit.key.AkamaiAddressKeyResolver
 
resolve(HttpServerExchange) - Method in class com.networknt.limit.key.JwtClientIdKeyResolver
 
resolve(HttpServerExchange) - Method in class com.networknt.limit.key.JwtHeaderClientIdKeyResolver
 
resolve(HttpServerExchange) - Method in class com.networknt.limit.key.JwtUserIdKeyResolver
 
resolve(HttpServerExchange) - Method in interface com.networknt.limit.key.KeyResolver
Resolve a unique key from the exchange
resolve(HttpServerExchange) - Method in class com.networknt.limit.key.RemoteAddressKeyResolver
 

S

SEPARATE_KEY - Static variable in class com.networknt.limit.LimitConfig
 
SERVER - com.networknt.limit.LimitKey
 
setAddress(LimitConfig.RateLimitSet) - Method in class com.networknt.limit.LimitConfig
 
setAddressKeyResolver(String) - Method in class com.networknt.limit.LimitConfig
 
setClient(LimitConfig.RateLimitSet) - Method in class com.networknt.limit.LimitConfig
 
setClientIdKeyResolver(String) - Method in class com.networknt.limit.LimitConfig
 
setConcurrentRequest(int) - Method in class com.networknt.limit.LimitConfig
 
setEnabled(boolean) - Method in class com.networknt.limit.LimitConfig
 
setErrorCode(int) - Method in class com.networknt.limit.LimitConfig
 
setFailureHandler(HttpHandler) - Method in class com.networknt.limit.RequestLimit
 
setKey(LimitKey) - Method in class com.networknt.limit.LimitConfig
 
setMaximumConcurrentRequests(int) - Method in class com.networknt.limit.RequestLimit
Set the maximum concurrent requests.
setNext(HttpHandler) - Method in class com.networknt.limit.LimitHandler
 
setQueueSize(int) - Method in class com.networknt.limit.LimitConfig
 
setRateLimit(List<LimitQuota>) - Method in class com.networknt.limit.LimitConfig
 
setServer(Map<String, LimitQuota>) - Method in class com.networknt.limit.LimitConfig
 
setUnit(TimeUnit) - Method in class com.networknt.limit.LimitQuota
 
setUser(LimitConfig.RateLimitSet) - Method in class com.networknt.limit.LimitConfig
 
setUserIdKeyResolver(String) - Method in class com.networknt.limit.LimitConfig
 
setValue(int) - Method in class com.networknt.limit.LimitQuota
 

U

USER - com.networknt.limit.LimitKey
 

V

valueOf(String) - Static method in enum com.networknt.limit.LimitKey
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.networknt.limit.LimitKey
Returns an array containing the constants of this enum type, in the order they are declared.
A C F G H I J K L R S U V 
All Classes All Packages