if (resource != null && resource.trim().toString().equalsIgnoreCase("input"))
resourceType = ResourceType.Input;
if (resource != null && resource.trim().toString().equalsIgnoreCase("output"))
resourceType = ResourceType.Output;
new GetRequestManager(serviceId, resourceType, format, response).HandleRequest();
response.flushBuffer();
}