RSpond crosscuts are independent capabilities that layer into your existing Spring Boot application. Each crosscut builds on structured error handling, giving your code smooth flow control, greater flexibility and observability for free. Use one crosscut or adopt them all—they snap together cleanly.

01

Error Capture

Available

The foundational design pattern. Replace try-catch ceremony with structured error handlers. Errors are automatically captured, categorized, and routed through observable pipelines.

PropertyPathsExample.java
var paths = new ArrayList<PropertyPath>();
handler.reportFrom(newPropertyWalker()
  .withSorter(propertySortByPropertyPath())
  .create())
  .walk(order, property -> paths.add(property.path()));
02

Conversions

Available

Type-safe conversion with automatic error capture on conversion failures. Transform data between types with structured error reporting.

ListConversionTest.java
var conversion = integerConverter().newListConverter().create();
assertEquals(conversion.convert(handler, "1,2,3,4,5"), List.of(1, 2, 3, 4, 5));
03

Validation

Available

Flexible validation that automates error capture and makes control flow concise

ValidationCaptureExample.java
var captured = statusList();
requireGreaterThan(7).validate(captured, 3);
requireNotBlank().validate(captured, "Hello");
if (captured.hasErrors()) {
  System.err.println(captured);
}
04

Resources

Available

Access hierarchical resources through a consistent API that supports filesystems, classpath resources, HTTP resources and more—one consistent API integrated with structured error handling.

ResourcesTest.kt
assertHasNoErrors(handler -> {
    var temporary = resourceStoreFilesystem(handler)
        .temporaryResource(filename(handler, "test.txt"));
    temporary.withWriter(it -> it.writeText("test"));
    assertEquals("test", temporary.withReader(InputReader::readAllText));
});
05

Observability Analytics

Coming Soon

Query error patterns, identify hotspots, and understand failure modes across your application. Analytics over the data flowing through the error capture system—no external tools required.

Try the Quickstart →