org.openrdf.http.server.protocol
Class ProtocolInterceptor

java.lang.Object
  extended by org.springframework.web.servlet.handler.HandlerInterceptorAdapter
      extended by org.openrdf.http.server.ServerInterceptor
          extended by org.openrdf.http.server.protocol.ProtocolInterceptor
All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor

public class ProtocolInterceptor
extends ServerInterceptor

Interceptor for protocol requests. Should not be a singleton bean! Configure as inner bean in openrdf-servlet.xml

Author:
Herko ter Horst

Constructor Summary
ProtocolInterceptor()
           
 
Method Summary
protected  String getThreadName()
          Determine the thread name to use.
 
Methods inherited from class org.openrdf.http.server.ServerInterceptor
afterCompletion, cleanUpResources, preHandle, setRequestAttributes
 
Methods inherited from class org.springframework.web.servlet.handler.HandlerInterceptorAdapter
postHandle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolInterceptor

public ProtocolInterceptor()
Method Detail

getThreadName

protected String 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 class ServerInterceptor
Returns:
a name that makes sense based on the request


Copyright © 2001-2008 Aduna. All Rights Reserved.