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

cn.patterncat.tracing.component.servlet.MultiReadRequest Maven / Gradle / Ivy

The newest version!
package cn.patterncat.tracing.component.servlet;

import org.springframework.web.util.ContentCachingRequestWrapper;

import javax.servlet.http.HttpServletRequest;

/**
 * NOTE spring的这个是大小限制的,这个要注意
 * 还是使用MultiReadableHttpServletRequest安全一点
 * Created by cat on 2018-12-04.
 */
public class MultiReadRequest extends ContentCachingRequestWrapper {
    public MultiReadRequest(HttpServletRequest request) {
        super(request);
    }

    public MultiReadRequest(HttpServletRequest request, int contentCacheLimit) {
        super(request, contentCacheLimit);
    }

    @Override
    protected void handleContentOverflow(int contentCacheLimit) {
        super.handleContentOverflow(contentCacheLimit);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy