Package org.jboss.resteasy.client.jaxrs.internal

## Class ClientConfigProviderFilter

- java.lang.Object
- - org.jboss.resteasy.client.jaxrs.internal.ClientConfigProviderFilter

- All Implemented Interfaces:
    `javax.ws.rs.client.ClientRequestFilter`

      public class ClientConfigProviderFilter
      extends Object
      implements javax.ws.rs.client.ClientRequestFilter

  Client filter that will attach authorization header with either HTTP Basic auth or Bearer token auth. Credentials and token are loaded from ClientConfigProvider implementation.
  Author:
    dvilkola@redhat.com

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ClientConfigProviderFilter​(ClientConfigProvider clientConfigProvider)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `filter​(javax.ws.rs.client.ClientRequestContext requestContext)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ClientConfigProviderFilter

          public ClientConfigProviderFilter​(ClientConfigProvider clientConfigProvider)

  - ### Method Detail

    - #### filter

          public void filter​(javax.ws.rs.client.ClientRequestContext requestContext)
                      throws IOException

      Specified by:
        `filter` in interface `javax.ws.rs.client.ClientRequestFilter`
      Throws:
        `IOException`