Index

A B C D E F G H I J L M N R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values

A

AppConfigurationController - Class in cf.maybelambda.httpvalidator.springboot.controller
Controller for handling configuration updates of the application.
AppConfigurationController() - Constructor for class cf.maybelambda.httpvalidator.springboot.controller.AppConfigurationController
 
AppInfoController - Class in cf.maybelambda.httpvalidator.springboot.controller
Controller for providing status and last run information of the application.
AppInfoController() - Constructor for class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 
AUTHORIZATION_HEADER_KEY - Static variable in class cf.maybelambda.httpvalidator.springboot.filter.JwtRequestFilter
 

B

BEARER_PREFIX - Static variable in class cf.maybelambda.httpvalidator.springboot.service.JwtAuthenticationService
 

C

cf.maybelambda.httpvalidator.springboot - package cf.maybelambda.httpvalidator.springboot
 
cf.maybelambda.httpvalidator.springboot.controller - package cf.maybelambda.httpvalidator.springboot.controller
 
cf.maybelambda.httpvalidator.springboot.filter - package cf.maybelambda.httpvalidator.springboot.filter
 
cf.maybelambda.httpvalidator.springboot.model - package cf.maybelambda.httpvalidator.springboot.model
 
cf.maybelambda.httpvalidator.springboot.persistence - package cf.maybelambda.httpvalidator.springboot.persistence
 
cf.maybelambda.httpvalidator.springboot.service - package cf.maybelambda.httpvalidator.springboot.service
 
cf.maybelambda.httpvalidator.springboot.util - package cf.maybelambda.httpvalidator.springboot.util
 
CONFIG_STATUS_KEY - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 
CRON_EXPRESSION_KEY - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppConfigurationController
 

D

DATAFILE_STATUS_KEY - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class cf.maybelambda.httpvalidator.springboot.filter.JwtRequestFilter
Filters incoming HTTP requests.

E

EmailNotificationService - Class in cf.maybelambda.httpvalidator.springboot.service
Service to send email notifications using external SMTP service.
EmailNotificationService(String) - Constructor for class cf.maybelambda.httpvalidator.springboot.service.EmailNotificationService
 
equals(Object) - Method in record class cf.maybelambda.httpvalidator.springboot.model.ValidationTask
Compares this ValidationTask to the specified object for equality.
error(SAXParseException) - Method in class cf.maybelambda.httpvalidator.springboot.persistence.XMLErrorHandler
Handles errors encountered during XML schema validation.
ERROR_VALUE - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 
EventListenerService - Class in cf.maybelambda.httpvalidator.springboot.service
Service to handle application lifecycle events and send notifications.
EventListenerService() - Constructor for class cf.maybelambda.httpvalidator.springboot.service.EventListenerService
 
execValidations() - Method in class cf.maybelambda.httpvalidator.springboot.service.ValidationService
Executes validation tasks periodically based on a cron schedule.

F

fatalError(SAXParseException) - Method in class cf.maybelambda.httpvalidator.springboot.persistence.XMLErrorHandler
Handles fatal errors encountered during XML schema validation.

G

getAll() - Method in class cf.maybelambda.httpvalidator.springboot.persistence.XMLValidationTaskDao
Retrieves all validation tasks; from the XML data file if it was modified since the last time it was read, or from memory otherwise.
getBody() - Method in class cf.maybelambda.httpvalidator.springboot.util.HttpSendOutcomeWrapper
Gets the body of the HTTP response.
getCurrentDateTime() - Static method in class cf.maybelambda.httpvalidator.springboot.service.EventListenerService
Gets the current date and time formatted as per RFC 1123.
getLastRunInfo() - Method in class cf.maybelambda.httpvalidator.springboot.service.ValidationService
Retrieves information about the last run of validation tasks.
getNewTokenValidFor(int) - Method in class cf.maybelambda.httpvalidator.springboot.service.JwtAuthenticationService
Generates a new signed JWT token that is valid for a specified number of hours.
getStartDateTime() - Method in class cf.maybelambda.httpvalidator.springboot.service.EventListenerService
Gets the start date and time of the application.
getStatusCode() - Method in class cf.maybelambda.httpvalidator.springboot.util.HttpSendOutcomeWrapper
Gets the status code of the HTTP response.

H

hashCode() - Method in record class cf.maybelambda.httpvalidator.springboot.model.ValidationTask
Returns a hash code value for this object.
HEADER_KEY_VALUE_DELIMITER - Static variable in class cf.maybelambda.httpvalidator.springboot.service.ValidationService
 
HttpSendOutcomeWrapper - Class in cf.maybelambda.httpvalidator.springboot.util
A utility wrapper class for handling outcomes of HTTP requests.
HttpSendOutcomeWrapper(Throwable) - Constructor for class cf.maybelambda.httpvalidator.springboot.util.HttpSendOutcomeWrapper
Constructs an instance wrapping an exception encountered during the request.
HttpSendOutcomeWrapper(HttpResponse<String>) - Constructor for class cf.maybelambda.httpvalidator.springboot.util.HttpSendOutcomeWrapper
Constructs an instance wrapping a successful HTTP response.
HTTPValidatorWebApp - Class in cf.maybelambda.httpvalidator.springboot
Main class for starting the HTTP Validator web application.
HTTPValidatorWebApp() - Constructor for class cf.maybelambda.httpvalidator.springboot.HTTPValidatorWebApp
 

I

informLastRunData() - Method in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
Retrieves the information about the last run of the validation service.
informWebAppStatus() - Method in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
Retrieves the current status of the web application.
INVALID_CRON_EXPRESSION_ERROR_MSG - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppConfigurationController
 
INVALID_DATA_FILE_ERROR_MSG - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppConfigurationController
 
isDataFileStatusOk() - Method in class cf.maybelambda.httpvalidator.springboot.persistence.XMLValidationTaskDao
Checks if the XML data file exists and is readable.
isValid(int, String) - Method in record class cf.maybelambda.httpvalidator.springboot.model.ValidationTask
Checks if the response status code and body match the expected criteria.
isValidConfig() - Method in class cf.maybelambda.httpvalidator.springboot.service.EmailNotificationService
Checks if the email configuration is valid.
isValidConfig() - Method in class cf.maybelambda.httpvalidator.springboot.service.ValidationService
Checks if the configuration is valid by validating the cron expression currently in use.
isValidCronExpression(String) - Method in class cf.maybelambda.httpvalidator.springboot.service.ValidationService
Validates a given cron expression.
isValidToken(String) - Method in class cf.maybelambda.httpvalidator.springboot.service.JwtAuthenticationService
Validates a JWT token from the Authorization header of an incoming request.
isWholeResponse() - Method in class cf.maybelambda.httpvalidator.springboot.util.HttpSendOutcomeWrapper
Checks if the wrapper contains a complete HTTP response with a non-null body.

J

JwtAuthenticationService - Class in cf.maybelambda.httpvalidator.springboot.service
Service for handling JWT authentication, including token generation, validation, and secret key management.
JwtAuthenticationService() - Constructor for class cf.maybelambda.httpvalidator.springboot.service.JwtAuthenticationService
 
JwtRequestFilter - Class in cf.maybelambda.httpvalidator.springboot.filter
Filter to intercept incoming requests and validate JWT tokens in the Authorization header.
JwtRequestFilter() - Constructor for class cf.maybelambda.httpvalidator.springboot.filter.JwtRequestFilter
 

L

LAST_RUN_ENDPOINT - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 

M

main(String[]) - Static method in class cf.maybelambda.httpvalidator.springboot.HTTPValidatorWebApp
Main method to run the Spring Boot application.

N

NET_ERR_CODE - Static variable in class cf.maybelambda.httpvalidator.springboot.util.HttpSendOutcomeWrapper
Status code assigned to exceptional send results arising from network errors.
NET_ERR_MSG - Static variable in class cf.maybelambda.httpvalidator.springboot.util.HttpSendOutcomeWrapper
Message about a network error that occurred while attempting a request.
NO_LASTRUN_DATA_ERROR_MSG - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 
notifyThatAppTerminated() - Method in class cf.maybelambda.httpvalidator.springboot.service.EventListenerService
Sends a notification when the application is terminated.

R

reqBody() - Method in record class cf.maybelambda.httpvalidator.springboot.model.ValidationTask
Returns the value of the reqBody record component.
reqHeaders() - Method in record class cf.maybelambda.httpvalidator.springboot.model.ValidationTask
Returns the value of the reqHeaders record component.
reqMethod() - Method in record class cf.maybelambda.httpvalidator.springboot.model.ValidationTask
Returns the value of the reqMethod record component.
reqURL() - Method in record class cf.maybelambda.httpvalidator.springboot.model.ValidationTask
Returns the value of the reqURL record component.
restartAppContextWithNewRunSchedule(String) - Static method in class cf.maybelambda.httpvalidator.springboot.HTTPValidatorWebApp
Restarts the application context with a new cron expression for scheduling tasks.
RUN_SCHEDULE_PROPERTY - Static variable in class cf.maybelambda.httpvalidator.springboot.HTTPValidatorWebApp
 

S

sendAppTerminatedNotification(String) - Method in class cf.maybelambda.httpvalidator.springboot.service.EmailNotificationService
Sends a notification email about application termination.
sendVTaskErrorsNotification(List<String[]>) - Method in class cf.maybelambda.httpvalidator.springboot.service.EmailNotificationService
Sends a notification email with validation task failure results.
setAppStartTime() - Method in class cf.maybelambda.httpvalidator.springboot.service.EventListenerService
Sets the application start time when the application is ready.
START_TIME_KEY - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 
STATUS_ENDPOINT - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 

T

TASKS_ERRORS_KEY - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 
TASKS_FAILED_KEY - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 
TASKS_OK_KEY - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 
TASKS_TOTAL_KEY - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 
TIME_ELAPSED_KEY - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppInfoController
 
toString() - Method in record class cf.maybelambda.httpvalidator.springboot.model.ValidationTask
Returns a string representation of this record class.

U

UPD_DATA_FILE_ENDPOINT - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppConfigurationController
 
UPD_DATA_FILE_ERROR_MSG - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppConfigurationController
 
UPD_RUN_SCHEDULE_ENDPOINT - Static variable in class cf.maybelambda.httpvalidator.springboot.controller.AppConfigurationController
 
updateDataFile(MultipartFile) - Method in class cf.maybelambda.httpvalidator.springboot.persistence.XMLValidationTaskDao
Updates the XML data file with the content of the given multipart file.
updateValidatorDataFile(MultipartFile) - Method in class cf.maybelambda.httpvalidator.springboot.controller.AppConfigurationController
Updates the validator data file with the contents from the provided multipart file.
updateValidatorRunSchedule(Map<String, String>) - Method in class cf.maybelambda.httpvalidator.springboot.controller.AppConfigurationController
Updates the validator run schedule based on the provided cron expression.

V

ValidationService - Class in cf.maybelambda.httpvalidator.springboot.service
Service for handling validation tasks, executing scheduled validations, and managing validation results.
ValidationService() - Constructor for class cf.maybelambda.httpvalidator.springboot.service.ValidationService
Constructor to initialize the HTTP client with default connection-timeout and follow-redirects settings.
ValidationTask - Record Class in cf.maybelambda.httpvalidator.springboot.model
Represents a validation task with HTTP request details and expected response criteria.
ValidationTask(FormSubmitEvent.MethodType, String, List<String>, JsonNode, int, String) - Constructor for record class cf.maybelambda.httpvalidator.springboot.model.ValidationTask
Constructor for ValidationTask.
validBody() - Method in record class cf.maybelambda.httpvalidator.springboot.model.ValidationTask
Returns the value of the validBody record component.
validStatusCode() - Method in record class cf.maybelambda.httpvalidator.springboot.model.ValidationTask
Returns the value of the validStatusCode record component.

W

warning(SAXParseException) - Method in class cf.maybelambda.httpvalidator.springboot.persistence.XMLErrorHandler
Handles warnings encountered during XML schema validation.

X

XMLErrorHandler - Class in cf.maybelambda.httpvalidator.springboot.persistence
Custom error handler for XML schema validation errors.
XMLErrorHandler() - Constructor for class cf.maybelambda.httpvalidator.springboot.persistence.XMLErrorHandler
 
XMLValidationTaskDao - Class in cf.maybelambda.httpvalidator.springboot.persistence
Provides methods to interact with the XML data file containing validation tasks.
XMLValidationTaskDao() - Constructor for class cf.maybelambda.httpvalidator.springboot.persistence.XMLValidationTaskDao
Constructs an instance of XMLValidationTaskDao.
A B C D E F G H I J L M N R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values