import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;

import javax.xml.ws.http.HTTPException;

public class HttpRequest extends HttpURLConnection {

    protected HttpRequest(URL u, int timeout) {
        super(u);
        setConnectTimeout(timeout);
    }

    protected HttpRequest(URL u, int timeout, boolean doinput, boolean usecaches) {
        this(u, timeout);
        setDoInput(doinput);
        setUseCaches(usecaches);
    }

    @Override
    public void disconnect() {
        throw new HTTPException(HTTP_BAD_GATEWAY);
    }

    @Override
    public boolean usingProxy() {
        throw new HTTPException(HTTP_BAD_GATEWAY);
    }

    @Override
    public void connect() throws IOException {
        if (super.connected) {
            return;
        }
    }
}

@@ -792,16 +792,47 @@
       %7D%0A
+        // TODO%0A        // %E6%9C%AA%E5%AE%9F%E8%A3%85%0A
     %7D%0A%7D%0A

Update HttpRequest.java