Is it possible to have the equivalent of defined in an AnnotationConfig(Web)ApplicationContext? Right now I have:<
I don't think you can do it out of the box, but you can probably copy what DefaultServletHandlerBeanDefinitionParser does: Create a Bean of type DefaultServletHttpRequestHandler and map it to the URL scheme /**.
I'd say your Bean should subclass DefaultServletHttpRequestHandler and do the mapping in a @PostConstruct method.