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

org.ctoolkit.restapi.client.adapter.AbstractDeleteExecutorAdaptee Maven / Gradle / Ivy

package org.ctoolkit.restapi.client.adapter;

import org.ctoolkit.restapi.client.adaptee.DeleteExecutorAdaptee;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.io.IOException;
import java.util.Locale;
import java.util.Map;

/**
 * The base Google client specific implementation of the {@link DeleteExecutorAdaptee}.
 * It provides a default implementation of the {@link #executeDelete(Object, Map, Locale)} method.
 *
 * @param  the concrete type of the client instance
 * @param  the concrete type of the resource associated with this adaptee
 * @author Aurel Medvegy
 */
public abstract class AbstractDeleteExecutorAdaptee
        extends AbstractGoogleClientAdaptee
        implements DeleteExecutorAdaptee
{
    public AbstractDeleteExecutorAdaptee( C client )
    {
        super( client );
    }

    @Override
    public void executeDelete( @Nonnull Object request,
                               @Nullable Map parameters,
                               @Nullable Locale locale )
            throws IOException
    {
        execute( request, parameters );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy