All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.polyapi.client.internal.service.InvocationService Maven / Gradle / Ivy

There is a newer version: 0.15.3
Show newest version
package io.polyapi.client.internal.service;

import java.lang.reflect.Type;
import java.util.Map;

public interface InvocationService {

     T invokeServerFunction(Class invokingClass, String id, Map body, Type expectedResponseType);

     T invokeApiFunction(Class invokingClass, String id, Map body, Type expectedResponseType);

     T invokeCustomFunction(Class invokingClass, String id, Map body, Type expectedResponseType);

    Void invokeAuthFunction(Class invokingClass, String id, Map body, Type expectedResponseType);

    Void invokeSubresourceAuthFunction(Class invokingClass, String id, Map body, Type expectedResponseType);

     T injectVariable(String id, String type);

     T getVariable(String id, Type type);

     void updateVariable(String id, T entity);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy