@ Override public void filter ( final ContainerRequestContext requestContext , final ContainerResponseContext responseContext ) { if ( backend . getConfiguration ( ) . shouldProcessContext ( OutgoingResponse ) ) { final Map < String , String > filtered = backend . getConfiguration ( ) . filterDeniedParams ( backend . copyToMap ( ) , OutgoingResponse ) ; responseContext . getHeaders ( ) . putSingle ( TraceeConstants . TPIC_HEADER , transportSerialization . render ( filtered ) ) ; } backend . clear ( ) ; }
This method handles the outgoing response