public class RepositoryInterceptor extends ServerInterceptor
| Constructor and Description |
|---|
RepositoryInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanUpResources()
Clean up resources used in handling this request.
|
static Repository |
getRepository(javax.servlet.http.HttpServletRequest request) |
static RepositoryConnection |
getRepositoryConnection(javax.servlet.http.HttpServletRequest request) |
static String |
getRepositoryID(javax.servlet.http.HttpServletRequest request) |
protected String |
getThreadName()
Determine the thread name to use.
|
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse respons,
Object handler) |
void |
setRepositoryManager(RepositoryManager repMan) |
protected void |
setRequestAttributes(javax.servlet.http.HttpServletRequest request)
Set attributes for this request.
|
afterCompletionpublic void setRepositoryManager(RepositoryManager repMan)
public boolean preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse respons,
Object handler)
throws Exception
preHandle in interface org.springframework.web.servlet.HandlerInterceptorpreHandle in class ServerInterceptorExceptionprotected String getThreadName()
ServerInterceptorgetThreadName in class ServerInterceptorprotected void setRequestAttributes(javax.servlet.http.HttpServletRequest request)
throws ClientHTTPException,
ServerHTTPException
ServerInterceptorsetRequestAttributes in class ServerInterceptorrequest - the requestClientHTTPException - if it was impossible to set one or more attributes due to a bad
request on the part of the clientServerHTTPException - if it was impossible to set one or more attributes due to an
internal errorprotected void cleanUpResources()
throws ServerHTTPException
ServerInterceptorcleanUpResources in class ServerInterceptorServerHTTPException - if some resources could not be cleaned up because of an internal
errorpublic static String getRepositoryID(javax.servlet.http.HttpServletRequest request)
public static Repository getRepository(javax.servlet.http.HttpServletRequest request)
public static RepositoryConnection getRepositoryConnection(javax.servlet.http.HttpServletRequest request)
Copyright © 2001-2016 Aduna. All Rights Reserved.