ResourceUrlProvider instance it
is configured with as a request attribute.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | RESOURCE_URL_PROVIDER_ATTR
Name of the request attribute that holds the |
| private final ResourceUrlProvider |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | preHandle(HttpServletRequest
current HTTP request request, HttpServletResponse current HTTP response response, Object chosen handler to execute, for type and/or instance evaluation handler)Overrides default org. Interception point before the execution of a handler. |
| RESOURCE_URL_PROVIDER_ATTR | back to summary |
|---|---|
| public static final String RESOURCE_URL_PROVIDER_ATTR Name of the request attribute that holds the | |
| resourceUrlProvider | back to summary |
|---|---|
| private final ResourceUrlProvider resourceUrlProvider | |
| ResourceUrlProviderExposingInterceptor | back to summary |
|---|---|
| public ResourceUrlProviderExposingInterceptor(ResourceUrlProvider resourceUrlProvider) | |
| preHandle | back to summary |
|---|---|
| public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception Overrides default org. Doc from org. Interception point before the execution of a handler. Called after HandlerMapping determined an appropriate handler object, but before HandlerAdapter invokes the handler. DispatcherServlet processes a handler in an execution chain, consisting of any number of interceptors, with the handler itself at the end. With this method, each interceptor can decide to abort the execution chain, typically sending an HTTP error or writing a custom response. Note special considerations apply for asynchronous
request processing. For more details see
The default implementation returns
| |