CLOUD-2152 "Ability to assign protocol and URL params to PublicApiClient."

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@57014 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2013-10-24 16:45:16 +00:00
parent e95c088a0e
commit fe7024e425
2 changed files with 39 additions and 15 deletions

View File

@@ -7,7 +7,12 @@ public class WorkflowApiHttpClient extends PublicApiHttpClient
{
public WorkflowApiHttpClient(String host, int port, String contextPath, String servletName, AuthenticatedHttp authenticatedHttp)
{
super(host, port, contextPath, servletName, authenticatedHttp);
this("http", host, port, contextPath, servletName, authenticatedHttp);
}
public WorkflowApiHttpClient(String scheme, String host, int port, String contextPath, String servletName, AuthenticatedHttp authenticatedHttp)
{
super(scheme, host, port, contextPath, servletName, authenticatedHttp);
apiName = "workflow";
}