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
Constructors -
Method Summary
Methods inherited from class ServerInterceptor
afterCompletion, cleanUpResources, preHandle, setRequestAttributesModifier and TypeMethodDescriptionvoidafterCompletion(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Object handler, Exception exception) protected voidClean up resources used in handling this request.booleanpreHandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Object handler) protected voidsetRequestAttributes(jakarta.servlet.http.HttpServletRequest request) Set attributes for this request.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.HandlerInterceptor
postHandle
-
Constructor Details
-
ProtocolInterceptor
public ProtocolInterceptor()
-
-
Method Details
-
getThreadName
Description copied from class:ServerInterceptorDetermine the thread name to use. Called before the request is forwarded to a handler.- Specified by:
getThreadNamein classServerInterceptor- Returns:
- a name that makes sense based on the request
-