a.java 源代码
package b4;
import com.x8zs.plugin.apache.http.protocol.HTTP;
import java.io.IOException;
import w3.d;
public abstract class a implements d {
protected w3.b f198a;
protected w3.b f199b;
protected boolean f200c;
@Override
@Deprecated
public void b() throws IOException {
}
public void d(String str) {
d4.b bVar;
if (str != null) {
bVar = new d4.b(HTTP.CONTENT_ENCODING, str);
} else {
bVar = null;
}
e(bVar);
}
public void e(w3.b bVar) {
this.f199b = bVar;
}
public void f(String str) {
d4.b bVar;
if (str != null) {
bVar = new d4.b("Content-Type", str);
} else {
bVar = null;
}
g(bVar);
}
public void g(w3.b bVar) {
this.f198a = bVar;
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append('[');
if (this.f198a != null) {
sb.append("Content-Type: ");
sb.append(this.f198a.getValue());
sb.append(',');
}
if (this.f199b != null) {
sb.append("Content-Encoding: ");
sb.append(this.f199b.getValue());
sb.append(',');
}
long c6 = c();
if (c6 >= 0) {
sb.append("Content-Length: ");
sb.append(c6);
sb.append(',');
}
sb.append("Chunked: ");
sb.append(this.f200c);
sb.append(']');
return sb.toString();
}
}