Package org.restheart.handlers.injectors
package org.restheart.handlers.injectors
Handlers in charge of injecting data in the request context.
- Author:
- Andrea Di Cesare <[email protected]>
-
ClassDescriptioninjects the context authenticatedAccountExecutes the interceptors for proxied requests taking care of buffering the response from the backend to make it accessible to them whose requiresResponseContent() returns true Note that getting the content has significant performance overhead for proxied resources.injects in the exchange the request content if the request involves a Service or a Request Interceptor whose requiresContent() returns true Note that getting the content has significant performance overhead for proxied resources.Adds the following X-Forwarded custom headers to the proxied request: 'X-Forwarded-Account-Id', 'X-Forwarded-Account-Roles' and other headers set with Response.addXForwardedHeader()