class RestUrlMappingMessageNameResolver implements MessageNameResolver {

    @Override
    public String resolve(final WilmaHttpEntity entity, final ParameterList parameters) {
        String resolvedName;
        if (entity instanceof WilmaHttpRequest) {
            resolvedName = resolveRequest(entity, parameters);
        } else {
            resolvedName = EMPTY;
        }
        return resolvedName;
    }

}