public class DefaultRemotePublicationInvoker extends Object implements RemotePublicationInvoker
TestInvokationHandler
without any
network.Modifier and Type | Field and Description |
---|---|
protected String |
baseURL |
protected RemotePublisherMarshaler |
marshaler |
protected String |
password |
protected PublicationInvokationHandler |
testPublicationHandler |
protected String |
userName |
protected boolean |
useTestMode |
Constructor and Description |
---|
DefaultRemotePublicationInvoker() |
Modifier and Type | Method and Description |
---|---|
protected String |
doHttpCall(String methodName,
String marshaledData) |
protected String |
doInvoke(String methodName,
String marshaledData) |
void |
init(String baseURL,
String userName,
String password,
RemotePublisherMarshaler marshaler) |
Object |
invoke(String methodName,
List<Object> params) |
protected RemotePublisherMarshaler marshaler
protected PublicationInvokationHandler testPublicationHandler
protected boolean useTestMode
public DefaultRemotePublicationInvoker()
public void init(String baseURL, String userName, String password, RemotePublisherMarshaler marshaler)
init
in interface RemotePublicationInvoker
public Object invoke(String methodName, List<Object> params)
invoke
in interface RemotePublicationInvoker
protected String doHttpCall(String methodName, String marshaledData) throws IOException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.