Class LoggingReaderInterceptor
- java.lang.Object
-
- dev.aherscu.qa.testing.utils.rest.LoggingReaderInterceptor
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.ReaderInterceptor
public class LoggingReaderInterceptor extends Object implements jakarta.ws.rs.ext.ReaderInterceptor
Use to log the inbound stream.- Author:
- Adrian Herscu
-
-
Constructor Summary
Constructors Constructor Description LoggingReaderInterceptor(Consumer<String> logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
aroundReadFrom(jakarta.ws.rs.ext.ReaderInterceptorContext context)
-
-
-
Method Detail
-
aroundReadFrom
public Object aroundReadFrom(jakarta.ws.rs.ext.ReaderInterceptorContext context) throws IOException
- Specified by:
aroundReadFrom
in interfacejakarta.ws.rs.ext.ReaderInterceptor
- Throws:
IOException
-
-