parent
9d876fce82
commit
24860d9fb0
|
@ -181,12 +181,14 @@ public final class ObservationFilterChainDecorator implements FilterChainProxy.F
|
||||||
parentBefore.setChainSize(this.size);
|
parentBefore.setChainSize(this.size);
|
||||||
parentBefore.setFilterName(this.name);
|
parentBefore.setFilterName(this.name);
|
||||||
parentBefore.setChainPosition(this.position);
|
parentBefore.setChainPosition(this.position);
|
||||||
|
parent.before().event(Observation.Event.of(this.name + " before"));
|
||||||
this.filter.doFilter(request, response, chain);
|
this.filter.doFilter(request, response, chain);
|
||||||
parent.start();
|
parent.start();
|
||||||
FilterChainObservationContext parentAfter = (FilterChainObservationContext) parent.after().getContext();
|
FilterChainObservationContext parentAfter = (FilterChainObservationContext) parent.after().getContext();
|
||||||
parentAfter.setChainSize(this.size);
|
parentAfter.setChainSize(this.size);
|
||||||
parentAfter.setFilterName(this.name);
|
parentAfter.setFilterName(this.name);
|
||||||
parentAfter.setChainPosition(this.size - this.position + 1);
|
parentAfter.setChainPosition(this.size - this.position + 1);
|
||||||
|
parent.after().event(Observation.Event.of(this.name + " after"));
|
||||||
}
|
}
|
||||||
|
|
||||||
private AroundFilterObservation parent(HttpServletRequest request) {
|
private AroundFilterObservation parent(HttpServletRequest request) {
|
||||||
|
|
Loading…
Reference in New Issue