diff options
Diffstat (limited to 'catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/HttpRequestInfo.java')
-rw-r--r-- | catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/HttpRequestInfo.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/HttpRequestInfo.java b/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/HttpRequestInfo.java index de8ebe384b..05e61034ff 100644 --- a/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/HttpRequestInfo.java +++ b/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/HttpRequestInfo.java @@ -20,6 +20,7 @@ package org.openecomp.sdc.fe.impl; +import com.google.common.annotations.VisibleForTesting; import javax.servlet.http.HttpServletRequest; import java.io.ByteArrayInputStream; import java.io.InputStream; @@ -27,6 +28,10 @@ import java.util.Map; public class HttpRequestInfo { + @VisibleForTesting + HttpRequestInfo() { + } + public HttpRequestInfo(HttpServletRequest request, Map<String, String> headersMap, String data) { headers = headersMap; requestURL = request.getRequestURI(); |