Package org.hawaiiframework.logging.util
Class HttpRequestResponseDebugLogUtil
- java.lang.Object
-
- org.hawaiiframework.logging.util.HttpRequestResponseDebugLogUtil
-
public class HttpRequestResponseDebugLogUtil extends Object
Utility for logging requests / responses.The utility can be used to generate HTTP request / response log strings. Both for incoming service calls as outgoing calls (i.e. calls to backend systems).
- Since:
- 3.0.0
- Author:
- Rutger Lubbers
-
-
Constructor Summary
Constructors Constructor Description HttpRequestResponseDebugLogUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCallRequestDebugOutput(String method, String requestUri, String headers, String body)
String
getCallResponseDebugOutput(String headers, String body)
String
getTxRequestDebugOutput(javax.servlet.http.HttpServletRequest servletRequest, String headers, String body)
String
getTxResponseDebugOutput(String protocol, org.springframework.http.HttpStatus httpStatus, String headers, String body)
-
-
-
Method Detail
-
getTxRequestDebugOutput
public String getTxRequestDebugOutput(javax.servlet.http.HttpServletRequest servletRequest, String headers, String body)
-
getTxResponseDebugOutput
public String getTxResponseDebugOutput(String protocol, org.springframework.http.HttpStatus httpStatus, String headers, String body)
-
getCallRequestDebugOutput
public String getCallRequestDebugOutput(String method, String requestUri, String headers, String body)
-
-