Class ProtocolInterceptor
java.lang.Object
org.eclipse.rdf4j.http.server.ServerInterceptor
org.eclipse.rdf4j.http.server.protocol.ProtocolInterceptor
- All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor
Interceptor for protocol requests. Should not be a singleton bean! Configure as inner bean in openrdf-servlet.xml
- Author:
- Herko ter Horst
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.rdf4j.http.server.ServerInterceptor
afterCompletion, cleanUpResources, preHandle, setRequestAttributes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.HandlerInterceptor
postHandle
-
Constructor Details
-
ProtocolInterceptor
public ProtocolInterceptor()
-
-
Method Details
-
getThreadName
Description copied from class:ServerInterceptor
Determine the thread name to use. Called before the request is forwarded to a handler.- Specified by:
getThreadName
in classServerInterceptor
- Returns:
- a name that makes sense based on the request
-