You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,9 @@ public class WebConfig {
143
143
```
144
144
The servlet filter will fail to serve incoming requests if a `SegmentNamingStrategy` is not supplied, either through web.xml init-params or through the constructor.
145
145
146
+
##### Applications using `jakarta.servlet` or Spring 6
147
+
Include from the Jakarta namespace. Example: `com.amazonaws.xray.javax.servlet.AWSXRayServletFilter`
148
+
146
149
##### Applications not using `javax.servlet` may include custom interceptors to begin and end trace segments
147
150
148
151
Directly call `beginSegment` and `endSegment` as necessary. *Note:* this method requires additional work to ensure that the `X-Amzn-Trace-Id` header is properly propogated and sufficient information about the request and response is captured with the segment.
0 commit comments