ApplicationContextRequestMatcher

abstract class ApplicationContextRequestMatcher<C> : RequestMatcher

ApplicationContext backed RequestMatcher. Can work directly with the ApplicationContext, obtain an existing bean or create a new bean that is autowired in the usual way.

Author

Phillip Webb

Since

2.0.0

Parameters

<C>

the type of the context that the match method actually needs to use. Can be an ApplicationContext or a class of an existing bean.

Constructors

Link copied to clipboard
constructor(contextClass: Class<out C>)

Functions

Link copied to clipboard
open fun matcher(request: HttpServletRequest): RequestMatcher.MatchResult
Link copied to clipboard
fun matches(request: HttpServletRequest): Boolean