spring-framework / org.springframework.web.servlet.handler / ConversionServiceExposingInterceptor

ConversionServiceExposingInterceptor

open class ConversionServiceExposingInterceptor : HandlerInterceptorAdapter

Interceptor that places the configured ConversionService in request scope so it's available during request processing. The request attribute name is "org.springframework.core.convert.ConversionService", the value of ConversionService.class.getName().

Mainly for use within JSP tags such as the spring:eval tag.

Author
Keith Donald

Since
3.0.1

Constructors

<init>

ConversionServiceExposingInterceptor(conversionService: ConversionService)

Creates a new ConversionServiceExposingInterceptor.

Functions

preHandle

open fun preHandle(request: HttpServletRequest, response: HttpServletResponse, handler: Any): Boolean