30 lines
824 B
Java
30 lines
824 B
Java
package c.i.a.b.j;
|
|
|
|
import c.i.a.b.b;
|
|
import c.i.a.b.e;
|
|
import c.i.a.b.f;
|
|
import c.i.a.b.g;
|
|
import java.util.Set;
|
|
/* compiled from: TransportFactoryImpl */
|
|
public final class j implements g {
|
|
public final Set<b> a;
|
|
public final i b;
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public final m f613c;
|
|
|
|
public j(Set<b> set, i iVar, m mVar) {
|
|
this.a = set;
|
|
this.b = iVar;
|
|
this.f613c = mVar;
|
|
}
|
|
|
|
@Override // c.i.a.b.g
|
|
public <T> f<T> a(String str, Class<T> cls, b bVar, e<T, byte[]> eVar) {
|
|
if (this.a.contains(bVar)) {
|
|
return new l(this.b, str, bVar, eVar, this.f613c);
|
|
}
|
|
throw new IllegalArgumentException(String.format("%s is not supported byt this factory. Supported encodings are: %s.", bVar, this.a));
|
|
}
|
|
}
|