public class ServicerMapperImpl extends Object implements ServicerMapper
ServicerMapper
implementation.Constructor and Description |
---|
ServicerMapperImpl(HttpServletServicer... servicers)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
HttpServletServicer |
mapName(String name)
Obtains the
HttpServletServicer by its name. |
ServicerMapping |
mapPath(String path)
Matches the best
ServicerMapping for the path. |
public ServicerMapperImpl(HttpServletServicer... servicers)
servicers
- HttpServletServicer
instances for this
ServicerMapper
.public ServicerMapping mapPath(String path)
ServicerMapper
ServicerMapping
for the path.mapPath
in interface ServicerMapper
path
- Path for mapping.ServicerMapping
or null
if no
appropriate HttpServletServicer
.public HttpServletServicer mapName(String name)
ServicerMapper
HttpServletServicer
by its name.mapName
in interface ServicerMapper
name
- Name of the HttpServletServicer
.HttpServletServicer
or null
if no
HttpServletServicer
by name.Copyright © 2005–2016. All rights reserved.