Interface TeamCityHandlerInterceptor
-
- All Superinterfaces:
ServerExtension
,TeamCityExtension
public interface TeamCityHandlerInterceptor extends ServerExtension
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Intercept the execution of request.
-
-
-
Method Detail
-
preHandle
boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Intercept the execution of request. Called in MainServerInterceptor. Each interceptor can decide to abort the execution chain, typically sending a HTTP error or writing a custom response.- Parameters:
request
- current HTTP requestresponse
- current HTTP response- Returns:
true
if the execution chain should proceed with the next interceptor or the handler itself. Else, DispatcherServlet assumes that this interceptor has already dealt with the response itself.- Throws:
Exception
- in case of errors- Since:
- 9.0.2
-
-