top.jfunc.http.component.jodd.DefaultJoddHeaderHandler Maven / Gradle / Ivy
package top.jfunc.http.component.jodd;
import top.jfunc.http.request.HttpRequest;
import top.jfunc.http.component.AbstractHeaderHandler;
import top.jfunc.http.util.JoddUtil;
import top.jfunc.common.utils.MultiValueMap;
import java.io.IOException;
/**
* @author xiongshiyan at 2020/1/6 , contact me with email [email protected] or phone 15208384257
*/
public class DefaultJoddHeaderHandler extends AbstractHeaderHandler {
@Override
protected void doConfigHeaders(jodd.http.HttpRequest request, HttpRequest httpRequest, MultiValueMap handledHeaders) throws IOException {
JoddUtil.setRequestHeaders(request , httpRequest.getContentType() , handledHeaders);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy