public class NullURLProcessor extends Object implements URLProcessor
URLProcessor that indicates the URL was not able to be
processed by any of the configured processors.
This is a valid state used to indicate a URL that although not processed by
the URL processors will likely be processed by other mechanisms (e.g. Spring-MVC)
within the web application.
Created by bpolster.| Constructor and Description |
|---|
NullURLProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProcessURL(String requestURI)
Always returns true.
|
static NullURLProcessor |
getInstance() |
boolean |
processURL(String requestURI)
The processURL method should not be called on the NullURLProcessor.
|
public static NullURLProcessor getInstance()
public boolean canProcessURL(String requestURI)
canProcessURL in interface URLProcessorrequestURI - public boolean processURL(String requestURI)
processURL in interface URLProcessorrequestURI - The requestURI with the context path trimmed offUnsupportedOperationExceptionCopyright © 2017. All rights reserved.