javax.servlet.http.HttpServletRequestWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of findsecbugs-samples-deps Show documentation
Show all versions of findsecbugs-samples-deps Show documentation
Find Security Bugs stub dependencies use for the samples.
This module create facades for all the APIs (classes, interfaces and annotations)
that are use in the test code. The objective is to avoid the needed to download
all the framework supported by the static analyzer.
The newest version!
package javax.servlet.http;
import javax.servlet.ServletRequest;
import javax.servlet.ServletRequestWrapper;
import java.util.Enumeration;
import java.util.Map;
public class HttpServletRequestWrapper extends ServletRequestWrapper implements HttpServletRequest {
public HttpServletRequestWrapper(HttpServletRequest servletRequest) {
super(servletRequest);
}
@Override
public String getHeader(String name) {
return null;
}
@Override
public Enumeration getHeaders(String name) {
return null;
}
@Override
public String getQueryString() {
return null;
}
@Override
public String getRequestedSessionId() {
return null;
}
@Override
public String getRequestURI() {
return null;
}
@Override
public Cookie[] getCookies() {
return new Cookie[0];
}
@Override
public HttpSession getSession() {
return null;
}
@Override
public HttpSession getSession(boolean create) {
return null;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy