Class WWWAuthenticateHandler

java.lang.Object
ee.jakarta.tck.ws.rs.common.webclient.handler.WWWAuthenticateHandler
All Implemented Interfaces:
Handler

public class WWWAuthenticateHandler extends Object implements Handler
 Will handle headers for the following
 cases:
   - Server is on port 80 and port value isn't
     propagated back to client (assumed)
   - Port value is in response
 
  • Method Details

    • getInstance

      public static Handler getInstance()
      Returns an instance of this handler.
    • invoke

      public boolean invoke(org.apache.commons.httpclient.Header configuredHeader, org.apache.commons.httpclient.Header responseHeader)
      Invokes handler logic.
      Specified by:
      invoke in interface Handler
      Parameters:
      configuredHeader - the user configured header
      responseHeader - the response header from the server
      Returns:
      True if the passed match, otherwise false