@ThreadSafe final class PublicConfigRequestMapper extends Object implements IRequestMapper
~/votorola/web/publicConfig
This is for static pages such as Crossforum Theatre that seek their configuration relative to the page itself. We do not want to actually locate the configuration with the page code, so instead we mount it there using this mapper. It is mounted to the following location, where CONTEXT/w is the path to the Wicket filter, as defined in WEB-INF/web.xml:
CONTEXT/w/publicConfig
Constructor and Description |
---|
PublicConfigRequestMapper(VoteServer voteServer) |
Modifier and Type | Method and Description |
---|---|
int |
getCompatibilityScore(Request request) |
Url |
mapHandler(IRequestHandler rH) |
IRequestHandler |
mapRequest(Request request) |
PublicConfigRequestMapper(VoteServer voteServer)
public int getCompatibilityScore(Request request)
getCompatibilityScore
in interface IRequestMapper
public Url mapHandler(IRequestHandler rH)
mapHandler
in interface IRequestMapper
public IRequestHandler mapRequest(Request request)
mapRequest
in interface IRequestMapper