public AccessTokenHeaderExtractor(ContainerRequestContext context,String header){
  this.sm=StringManager.getManager(Config.LOCALIZATION_PACKAGE_NAME);
  String authorizationHeader=context.getHeaderString(header);
  if (authorizationHeader != null && !authorizationHeader.isEmpty()) {
    this.matcher=AUTHORIZATION_PATTERN.matcher(authorizationHeader);
  }
}

public AccessTokenHeaderExtractor ( ContainerRequestContext context , String header ) { this . sm = StringManager . getManager ( Config . LOCALIZATION_PACKAGE_NAME ) ; String authorizationHeader = context . getHeaderString ( header ) ; if ( authorizationHeader != null && ! authorizationHeader . isEmpty ( ) ) { this . matcher = AUTHORIZATION_PATTERN . matcher ( authorizationHeader ) ; } }
constructs a new extractor that operates against the http headers contained as part of the request .
