
org.johnnei.enjin.spec.impl.EnjinApiFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enjin-api-impl Show documentation
Show all versions of enjin-api-impl Show documentation
The specification of the Enjin API
The newest version!
package org.johnnei.enjin.spec.impl;
import org.johnnei.enjin.IEnjinApi;
import org.johnnei.enjin.IEnjinApiFactory;
public class EnjinApiFactory implements IEnjinApiFactory {
@Override
public IEnjinApi createForDomain(String url) {
return createForDomain(url, true, null);
}
@Override
public IEnjinApi createForDomain(String url, boolean readOnly) {
return createForDomain(url, readOnly, null);
}
@Override
public IEnjinApi createForDomain(String url, boolean readOnly, String apiKey) {
return new EnjinApiImpl(url, readOnly, apiKey);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy