Module cloud.piranha.webapp.api
Package cloud.piranha.webapp.api
Interface WebApplicationServerRequestMapper
- All Known Implementing Classes:
HttpWebApplicationServerRequestMapper
public interface WebApplicationServerRequestMapper
The WebApplicationServerRequestMapper API.
- Author:
- Manfred Riem ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionaddMapping(WebApplication webApplication, String... urlPatterns)
Add a mapping.findMapping(String path)
Find a mapping for the given path.
-
Method Details
-
addMapping
Add a mapping.- Parameters:
webApplication
- the web application.urlPatterns
- the url patterns to map (aka mappings).- Returns:
- the url patterns added.
-
findMapping
Find a mapping for the given path.- Parameters:
path
- the path.- Returns:
- the mapping, or null if not found.
-