Index

A B C D E F G H I L M O P R S T 
All Classes and Interfaces|All Packages

A

addInterceptors(InterceptorRegistry) - Method in class org.easypeelsecurity.springdog.manager.config.SpringdogHandlerInterceptorApplier
 
addResponseTime(String, long) - Static method in class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCacheManager
Adds a response time for a specific endpoint identified by its path and method.
afterCompletion(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.easypeelsecurity.springdog.manager.statistics.RequestTimingInterceptor
Calculates the duration of the request and records it.
AgentExternalAccessInterceptor - Class in org.easypeelsecurity.springdog.manager.agent
A pre-handle for filtering agent connections.
AgentExternalAccessInterceptor(SpringdogProperties) - Constructor for class org.easypeelsecurity.springdog.manager.agent.AgentExternalAccessInterceptor
Constructor.

B

ban(String, LocalDateTime) - Static method in class org.easypeelsecurity.springdog.manager.ratelimit.RatelimitCache
 

C

clear() - Static method in class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCacheManager
Clears the cache.
clearCaches() - Static method in class org.easypeelsecurity.springdog.manager.ratelimit.RatelimitCache
 
collectException(Exception) - Method in class org.easypeelsecurity.springdog.manager.errortracing.SpringdogExceptionCollector
 

D

DECIMAL_FORMAT - Static variable in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
 
diskUsagePercent() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the current disk usage as a percentage of the total disk space.
diskUsagePercent() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.easypeelsecurity.springdog.manager.ratelimit.MultipleReadHttpServletFilter
 

E

EndpointMetricCached - Record Class in org.easypeelsecurity.springdog.manager.statistics
EndpointMetricCached.
EndpointMetricCached(String, long[], int) - Constructor for record class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCached
Creates an instance of a EndpointMetricCached record class.
EndpointMetricCacheManager - Class in org.easypeelsecurity.springdog.manager.statistics
Manages the cache for endpoint metrics.
EndpointMetricCacheManager() - Constructor for class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCacheManager
 
EndpointMetricScheduler - Class in org.easypeelsecurity.springdog.manager.statistics
This class is responsible for scheduling tasks to store endpoint metrics in the database such as average response times, number of failures, etc.
EndpointMetricScheduler(StatisticsService) - Constructor for class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricScheduler
Constructor.
equals(Object) - Method in record class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCached
Indicates whether some other object is "equal to" this one.

F

formatDouble(double) - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Formats a double value to two decimal places.

G

getAllData() - Static method in class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCacheManager
Gets all cache data.
getInputStream() - Method in class org.easypeelsecurity.springdog.manager.ratelimit.MultipleReadHttpServletRequest
 
getJvmHeapMax() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the maximum JVM heap memory in bytes.
getJvmHeapMax() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
getJvmHeapUsagePercent() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the current JVM heap memory usage as a percentage of the maximum available.
getJvmHeapUsagePercent() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
getJvmHeapUsed() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the current JVM heap memory usage in bytes.
getJvmHeapUsed() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
getJvmNonHeapMax() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the maximum JVM non-heap memory in bytes.
getJvmNonHeapMax() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
getJvmNonHeapUsagePercent() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the current JVM non-heap memory usage as a percentage of the maximum available.
getJvmNonHeapUsagePercent() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
getJvmNonHeapUsed() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the current JVM non-heap memory usage in bytes.
getJvmNonHeapUsed() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
getJvmTotalMemoryMax() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the total maximum JVM memory (heap + non-heap) in bytes.
getJvmTotalMemoryMax() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
getJvmTotalMemoryUsagePercent() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the total current JVM memory usage as a percentage of the total maximum available.
getJvmTotalMemoryUsagePercent() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
getJvmTotalMemoryUsed() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the total current JVM memory usage (heap + non-heap) in bytes.
getJvmTotalMemoryUsed() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
getNetworkInBytes() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the total network input bytes.
getNetworkInBytes() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
getNetworkOutBytes() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the total network output bytes.
getNetworkOutBytes() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
getParameter(String) - Method in class org.easypeelsecurity.springdog.manager.ratelimit.MultipleReadHttpServletRequest
 
getParameterMap() - Method in class org.easypeelsecurity.springdog.manager.ratelimit.MultipleReadHttpServletRequest
 
getParameterValues(String) - Method in class org.easypeelsecurity.springdog.manager.ratelimit.MultipleReadHttpServletRequest
 
getReader() - Method in class org.easypeelsecurity.springdog.manager.ratelimit.MultipleReadHttpServletRequest
 
getSystemMemoryUsagePercent() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the current system memory usage as a percentage of the maximum available.
getSystemMemoryUsagePercent() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 

H

hashCode() - Method in record class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCached
Returns a hash code value for this object.

I

incrementFailureCount(String) - Static method in class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCacheManager
Increments the failure count for a specific endpoint identified by method signature.
invalidateByMethodSignature(String) - Static method in class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCacheManager
Invalidates the cache for the specified key.
isBannedRequest(String, EndpointDto, LocalDateTime) - Static method in class org.easypeelsecurity.springdog.manager.ratelimit.RatelimitCache
When this method called, add access timestamp to the local database. and check if the request is banned or not by the ratelimit rule.

L

listExceptions() - Method in class org.easypeelsecurity.springdog.manager.errortracing.StructuredExceptionLister
Lists all exception classes found in the classpath, including both Java standard exceptions and application-specific exceptions.

M

methodSignature() - Method in record class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCached
Returns the value of the methodSignature record component.
MultipleReadHttpServletFilter - Class in org.easypeelsecurity.springdog.manager.ratelimit
This filter ensures that the request input stream can be read multiple times by wrapping the original HttpServletRequest with a custom MultipleReadHttpServletRequest.
MultipleReadHttpServletFilter() - Constructor for class org.easypeelsecurity.springdog.manager.ratelimit.MultipleReadHttpServletFilter
 
MultipleReadHttpServletRequest - Class in org.easypeelsecurity.springdog.manager.ratelimit
A class to provide the ability to read a ServletRequest's body multiple times. via article
MultipleReadHttpServletRequest(HttpServletRequest) - Constructor for class org.easypeelsecurity.springdog.manager.ratelimit.MultipleReadHttpServletRequest
Construct a new multi-read wrapper.
MultipleReadHttpServletRequestApplier - Class in org.easypeelsecurity.springdog.manager.ratelimit
Configuration class that registers the MultipleReadHttpServletFilter filter to enable multiple reads of the HttpServletRequest input stream.
MultipleReadHttpServletRequestApplier() - Constructor for class org.easypeelsecurity.springdog.manager.ratelimit.MultipleReadHttpServletRequestApplier
 

O

org.easypeelsecurity.springdog.manager.agent - package org.easypeelsecurity.springdog.manager.agent
Contains classes for the Springdog manager agent.
org.easypeelsecurity.springdog.manager.config - package org.easypeelsecurity.springdog.manager.config
Contains configuration classes for the Springdog manager.
org.easypeelsecurity.springdog.manager.errortracing - package org.easypeelsecurity.springdog.manager.errortracing
Contains classes for error tracing.
org.easypeelsecurity.springdog.manager.ratelimit - package org.easypeelsecurity.springdog.manager.ratelimit
Core of Ratelimit.
org.easypeelsecurity.springdog.manager.statistics - package org.easypeelsecurity.springdog.manager.statistics
Contains classes for statistics.
org.easypeelsecurity.springdog.manager.util - package org.easypeelsecurity.springdog.manager.util
Utility class for request handler.

P

preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.easypeelsecurity.springdog.manager.agent.AgentExternalAccessInterceptor
 
preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.easypeelsecurity.springdog.manager.ratelimit.RatelimitInterceptor
 
preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.easypeelsecurity.springdog.manager.statistics.RequestTimingInterceptor
Records the start time of the request.

R

RatelimitCache - Class in org.easypeelsecurity.springdog.manager.ratelimit
Ratelimit cache instance.
ratelimitFailureCount() - Method in record class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCached
Returns the value of the ratelimitFailureCount record component.
RatelimitInterceptor - Class in org.easypeelsecurity.springdog.manager.ratelimit
Interceptor for ratelimit.
RatelimitInterceptor(EndpointService) - Constructor for class org.easypeelsecurity.springdog.manager.ratelimit.RatelimitInterceptor
Constructor.
RequestHandlerUtil - Class in org.easypeelsecurity.springdog.manager.util
Utility class for request handler.
RequestHandlerUtil() - Constructor for class org.easypeelsecurity.springdog.manager.util.RequestHandlerUtil
 
RequestTimingInterceptor - Class in org.easypeelsecurity.springdog.manager.statistics
Interceptor to measure and record the response times of HTTP requests.
RequestTimingInterceptor(SlowResponseEmailNotificationManager) - Constructor for class org.easypeelsecurity.springdog.manager.statistics.RequestTimingInterceptor
Constructor.
responseTimes() - Method in record class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCached
Returns the value of the responseTimes record component.

S

saveEndpointStatistics() - Method in class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricScheduler
Scheduled task that saves the endpoint statistics in the database.
shouldSkipRequest(Class<?>) - Static method in class org.easypeelsecurity.springdog.manager.util.RequestHandlerUtil
Check if the request should be skipped.
SpringdogExceptionCollector - Class in org.easypeelsecurity.springdog.manager.errortracing
Springdog exception collector.
SpringdogExceptionCollector(ExceptionListingService) - Constructor for class org.easypeelsecurity.springdog.manager.errortracing.SpringdogExceptionCollector
Constructor.
SpringdogHandlerInterceptorApplier - Class in org.easypeelsecurity.springdog.manager.config
Configuration for Springdog handler interceptors.
SpringdogHandlerInterceptorApplier(EndpointService, SpringdogProperties, SlowResponseEmailNotificationManager) - Constructor for class org.easypeelsecurity.springdog.manager.config.SpringdogHandlerInterceptorApplier
Constructor.
springdogRequestBodyCachingFilterApplier() - Method in class org.easypeelsecurity.springdog.manager.ratelimit.MultipleReadHttpServletRequestApplier
Registers the MultipleReadHttpServletFilter with the servlet container.
storeSystemsMetrics() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemMetricsScheduler
Store system metrics.
StructuredExceptionLister - Class in org.easypeelsecurity.springdog.manager.errortracing
This class is responsible for listing and categorizing exception classes in a structured manner.
StructuredExceptionLister(ApplicationContext, Environment, ExceptionListingService) - Constructor for class org.easypeelsecurity.springdog.manager.errortracing.StructuredExceptionLister
Constructs a new StructuredExceptionLister.
systemCpuUsagePercent() - Method in interface org.easypeelsecurity.springdog.manager.statistics.SystemUsageMetrics
Retrieves the current system CPU usage as a percentage.
systemCpuUsagePercent() - Method in class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
 
SystemMetricsScheduler - Class in org.easypeelsecurity.springdog.manager.statistics
Scheduler to monitor system usage.
SystemMetricsScheduler(StatisticsService, SystemWatchNotificationManager) - Constructor for class org.easypeelsecurity.springdog.manager.statistics.SystemMetricsScheduler
Constructor.
SystemUsageMetrics - Interface in org.easypeelsecurity.springdog.manager.statistics
Interface to define system usage metrics.
SystemUsageMonitor - Class in org.easypeelsecurity.springdog.manager.statistics
Monitor system usage.
SystemUsageMonitor() - Constructor for class org.easypeelsecurity.springdog.manager.statistics.SystemUsageMonitor
Constructor.

T

toString() - Method in record class org.easypeelsecurity.springdog.manager.statistics.EndpointMetricCached
Returns a string representation of this record class.
A B C D E F G H I L M O P R S T 
All Classes and Interfaces|All Packages