Class SimpleRequestHeaderInterceptor

    • Constructor Detail

      • SimpleRequestHeaderInterceptor

        public SimpleRequestHeaderInterceptor​(String theHeaderName,
                                              String theHeaderValue)
        Constructor
        Parameters:
        theHeaderName - The header name, e.g. "Authorization"
        theHeaderValue - The header value, e.g. "Bearer 09uer90uw9yh"
      • SimpleRequestHeaderInterceptor

        public SimpleRequestHeaderInterceptor​(String theCompleteHeader)
        Constructor which takes a complete header including name and value
        Parameters:
        theCompleteHeader - The complete header, e.g. "Authorization: Bearer af09ufe90efh". Must not be null or empty.