No, this is not possible. HttpServletRequest
attributes are a server side implementation detail that has nothing to do with the HTTP protocol. As such, an HTTP client has no knowledge of this (and shouldn't).
If you want to check that the attribute was added from the server side, you can implement and register a ServletRequestAttributeListener
in your web application.