Interface WingsCookieInterceptor

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean notIntercept() Whether no Intercept for cookies, true when short-circuit processing, can turn off the intercept function
      abstract Cookie read(Cookie cookie) Convert to new cookie on read, return `null` means discard it
      abstract Cookie write(Cookie cookie) Convert to new cookie on write, return `null` means discard it
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • notIntercept

         abstract boolean notIntercept()

        Whether no Intercept for cookies, true when short-circuit processing, can turn off the intercept function

      • read

         abstract Cookie read(Cookie cookie)

        Convert to new cookie on read, return `null` means discard it

        Parameters:
        cookie - original cookie
        Returns:

        new / original / null

      • write

         abstract Cookie write(Cookie cookie)

        Convert to new cookie on write, return `null` means discard it

        Parameters:
        cookie - original cookie
        Returns:

        new / original / null