DefaultWebApplicationRequestMapper
public interface WebApplicationRequestMapper
Modifier and Type | Method | Description |
---|---|---|
Set<String> |
addFilterMapping(String filterName,
String... urlPatterns) |
Add a filter mapping.
|
Set<String> |
addFilterMappingBeforeExisting(String filterName,
String... urlPatterns) |
Add a filter mapping.
|
Set<String> |
addServletMapping(String servletName,
String... urlPatterns) |
Add a servlet mapping.
|
Collection<String> |
findFilterMappings(String path) |
Find the filter mappings for the given path.
|
WebApplicationRequestMapping |
findServletMapping(String path) |
Find the servlet mapping for the given path.
|
Collection<String> |
getServletMappings(String servletName) |
Get the mappings for the specified servlet.
|
String |
getServletName(String mapping) |
Get the servlet name for the specified mapping.
|
Set<String> addServletMapping(String servletName, String... urlPatterns)
servletName
- the servlet name.urlPatterns
- the URL patterns to map (aka mappings).Set<String> addFilterMapping(String filterName, String... urlPatterns)
This adds the filter mappings at the end of list of existing mappings (if any).
filterName
- the filter name.urlPatterns
- the URL patterns to map (aka mappings).Set<String> addFilterMappingBeforeExisting(String filterName, String... urlPatterns)
This adds the filter mappings at the start of list of existing mappings (if any). If there are existing mappings these are shifted to the right.
filterName
- the filter name.urlPatterns
- the URL patterns to map (aka mappings).Collection<String> findFilterMappings(String path)
path
- the path.WebApplicationRequestMapping findServletMapping(String path)
path
- the path.Collection<String> getServletMappings(String servletName)
servletName
- the servlet name.Copyright © 2020 Piranha Cloud. All rights reserved.