ca.sm360.cronitor.client.urlgenerators.CompleteCommandUrlGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cronitor-client Show documentation
Show all versions of cronitor-client Show documentation
cronitor-client is a simple Java library designed to help you monitoring, with www.cronitor.io, the routines of your Java projects
package ca.sm360.cronitor.client.urlgenerators;
import ca.sm360.cronitor.client.Command;
import org.apache.http.client.utils.URIBuilder;
import java.net.URISyntaxException;
public class CompleteCommandUrlGenerator extends CommandWithMessageUrlGenerator {
@Override
protected URIBuilder generateURIBuilderIgnoringMessage(String baseURL) throws URISyntaxException {
baseURL += "/" + Command.COMPLETE.getValue();
return new URIBuilder(baseURL);
}
}