All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.jfunc.http.component.DefaultContentCallbackHandler Maven / Gradle / Ivy

package top.jfunc.http.component;

import top.jfunc.http.base.ContentCallback;
import top.jfunc.http.request.HttpRequest;

import java.io.IOException;

/**
 * @author xiongshiyan at 2020/1/7 , contact me with email [email protected] or phone 15208384257
 */
@Deprecated
public class DefaultContentCallbackHandler implements ContentCallbackHandler {
    @Override
    public void handle(CC cc , ContentCallback contentCallback, HttpRequest httpRequest) throws IOException {
        if(null != contentCallback){
            contentCallback.doWriteWith(cc);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy