final String filterPath = getFilterPath(httpRequest);
final String url = httpRequest.getRequestURL().toString();
String remappedURL = url;
String transformURL = null;
ServiceDefinition serviceDef =
ServiceDefinitionHelper.retrieveService(request);
if(serviceDef != null &&
serviceDef != ServiceDefinition.DEFAULT_SERVICE_DEFINITION) {
//remappedURL = serviceDef.getRemoteTarget();
transformURL = serviceDef.getTransform();
// ok we have a service lets use that service remapper
urlRemapper = new ServiceURLRemapper(serviceDef);
}
// we do not apply a transform when there is no service