com.eg.agent.android.instrumentation.okhttp3.ResponseBuilderExtension Maven / Gradle / Ivy
The newest version!
/*
* Decompiled with CFR 0.137.
*
* Could not load the following classes:
* okhttp3.Handshake
* okhttp3.Headers
* okhttp3.Protocol
* okhttp3.Request
* okhttp3.Response
* okhttp3.Response$Builder
* okhttp3.ResponseBody
*/
package com.eg.agent.android.instrumentation.okhttp3;
import okhttp3.Handshake;
import okhttp3.Headers;
import okhttp3.Protocol;
import okhttp3.Request;
import okhttp3.Response;
import okhttp3.ResponseBody;
public class ResponseBuilderExtension
extends Response.Builder {
private Response.Builder impl;
public ResponseBuilderExtension(Response.Builder impl) {
this.impl = impl;
}
public Response.Builder request(Request request) {
return this.impl.request(request);
}
public Response.Builder protocol(Protocol protocol) {
return this.impl.protocol(protocol);
}
public Response.Builder code(int code) {
return this.impl.code(code);
}
public Response.Builder message(String message) {
return this.impl.message(message);
}
public Response.Builder handshake(Handshake handshake) {
return this.impl.handshake(handshake);
}
public Response.Builder header(String name, String value) {
return this.impl.header(name, value);
}
public Response.Builder addHeader(String name, String value) {
return this.impl.addHeader(name, value);
}
public Response.Builder removeHeader(String name) {
return this.impl.removeHeader(name);
}
public Response.Builder headers(Headers headers) {
return this.impl.headers(headers);
}
public Response.Builder body(ResponseBody body) {
return this.impl.body(body);
}
public Response.Builder networkResponse(Response networkResponse) {
return this.impl.networkResponse(networkResponse);
}
public Response.Builder cacheResponse(Response cacheResponse) {
return this.impl.cacheResponse(cacheResponse);
}
public Response.Builder priorResponse(Response priorResponse) {
return this.impl.priorResponse(priorResponse);
}
public Response build() {
return this.impl.build();
}
}