Package de.cuioss.http.security.core


@NullMarked package de.cuioss.http.security.core
Core interfaces and types for HTTP security validation.

This package provides the fundamental building blocks for HTTP security validation, including the main validation interface, type definitions, and failure classifications.

Core Components

Usage Example


 HttpSecurityValidator validator = new MyValidator();
 try {
     String sanitized = validator.validate(userInput);
     // Process sanitized input
 } catch (UrlSecurityException e) {
     // Handle security violation
     log.warn("Security violation: {}", e.getFailureType());
 }
 

Package Nullability

This package follows strict nullability conventions using JSpecify annotations:

  • All parameters and return values are non-null by default
  • Nullable parameters and return values are explicitly annotated with @Nullable
Since:
1.0
See Also:
  • Class
    Description
    Core functional interface for HTTP security validation.
    Comprehensive enumeration of security failure types for URL validation.
    Enumeration of different types of HTTP components that require validation.