Package ai.wanaku.cli.main.support
Class AuthenticationInterceptor
java.lang.Object
ai.wanaku.cli.main.support.AuthenticationInterceptor
- All Implemented Interfaces:
jakarta.ws.rs.client.ClientRequestFilter
public class AuthenticationInterceptor
extends Object
implements jakarta.ws.rs.client.ClientRequestFilter
A JAX-RS client request filter that automatically adds authentication headers
to outgoing requests based on stored credentials.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfilter(jakarta.ws.rs.client.ClientRequestContext requestContext)
-
Constructor Details
-
AuthenticationInterceptor
public AuthenticationInterceptor() -
AuthenticationInterceptor
-
-
Method Details
-
filter
- Specified by:
filterin interfacejakarta.ws.rs.client.ClientRequestFilter- Throws:
IOException
-