Class ServerInterceptor

java.lang.Object
org.eclipse.rdf4j.http.server.ServerInterceptor
All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor
Direct Known Subclasses:
ProtocolInterceptor, RepositoryInterceptor

public abstract class ServerInterceptor extends Object implements org.springframework.web.servlet.HandlerInterceptor
Base class for single-use request interceptors. This implementation sets the thread name to something sensible at the start of the request handling and resets the name at the end. This is useful for logging frameworks that make use of thread names, such as Log4J. Should not be a singleton bean! Configure as inner bean in openrdf-servlet.xml
Author:
Herko ter Horst