Class ServletRequestContext

java.lang.Object
io.undertow.servlet.handlers.ServletRequestContext

public class ServletRequestContext extends Object
All the information that servlet needs to attach to the exchange.

This is all stored under this class, rather than using individual attachments, as this approach has significant performance advantages.

The ServletInitialHandler also pushed this information to the CURRENT thread local, which allows it to be access even if the request or response have been wrapped with non-compliant wrapper classes.

Author:
Stuart Douglas