org.gmjm.slack.api.hook.HookRequestFactory Maven / Gradle / Ivy
package org.gmjm.slack.api.hook;
/**
* Use a factory implementation instance to create all instances of related
* HookRequest objects. This ensures the .send method will work as
* intended.
*
* Implementations of this factory are intended to be thread safe.
*
*/
public interface HookRequestFactory {
/**
*
* @param url The target URL used by the HookRequest.
* @return A HookRequest object
*/
HookRequest createHookRequest(String url);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy