congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
RFC2965DomainAttributeHandler.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.http.impl.cookie.RFC2965DomainAttributeHandler
constructor

Best Java code snippets using org.apache.http.impl.cookie.RFC2965DomainAttributeHandler.<init> (Showing top 20 results out of 315)

origin: robovm/robovm

public RFC2965Spec(final String[] datepatterns, boolean oneHeader) {
  super(datepatterns, oneHeader);
  registerAttribHandler(ClientCookie.DOMAIN_ATTR, new RFC2965DomainAttributeHandler());
  registerAttribHandler(ClientCookie.PORT_ATTR, new RFC2965PortAttributeHandler());
  registerAttribHandler(ClientCookie.COMMENTURL_ATTR, new RFC2965CommentUrlAttributeHandler());
  registerAttribHandler(ClientCookie.DISCARD_ATTR, new RFC2965DiscardAttributeHandler());
  registerAttribHandler(ClientCookie.VERSION_ATTR, new RFC2965VersionAttributeHandler());
}

origin: MobiVM/robovm

public RFC2965Spec(final String[] datepatterns, boolean oneHeader) {
  super(datepatterns, oneHeader);
  registerAttribHandler(ClientCookie.DOMAIN_ATTR, new RFC2965DomainAttributeHandler());
  registerAttribHandler(ClientCookie.PORT_ATTR, new RFC2965PortAttributeHandler());
  registerAttribHandler(ClientCookie.COMMENTURL_ATTR, new RFC2965CommentUrlAttributeHandler());
  registerAttribHandler(ClientCookie.DISCARD_ATTR, new RFC2965DiscardAttributeHandler());
  registerAttribHandler(ClientCookie.VERSION_ATTR, new RFC2965VersionAttributeHandler());
}

origin: at.bestsolution.efxclipse.eclipse/org.apache.httpcomponents.httpclient

public RFC2965Spec(final String[] datepatterns, final boolean oneHeader) {
  super(datepatterns, oneHeader);
  registerAttribHandler(ClientCookie.DOMAIN_ATTR, new RFC2965DomainAttributeHandler());
  registerAttribHandler(ClientCookie.PORT_ATTR, new RFC2965PortAttributeHandler());
  registerAttribHandler(ClientCookie.COMMENTURL_ATTR, new RFC2965CommentUrlAttributeHandler());
  registerAttribHandler(ClientCookie.DISCARD_ATTR, new RFC2965DiscardAttributeHandler());
  registerAttribHandler(ClientCookie.VERSION_ATTR, new RFC2965VersionAttributeHandler());
}
origin: FlexoVM/flexovm

public RFC2965Spec(final String[] datepatterns, boolean oneHeader) {
  super(datepatterns, oneHeader);
  registerAttribHandler(ClientCookie.DOMAIN_ATTR, new RFC2965DomainAttributeHandler());
  registerAttribHandler(ClientCookie.PORT_ATTR, new RFC2965PortAttributeHandler());
  registerAttribHandler(ClientCookie.COMMENTURL_ATTR, new RFC2965CommentUrlAttributeHandler());
  registerAttribHandler(ClientCookie.DISCARD_ATTR, new RFC2965DiscardAttributeHandler());
  registerAttribHandler(ClientCookie.VERSION_ATTR, new RFC2965VersionAttributeHandler());
}

origin: com.mobidevelop.robovm/robovm-rt

public RFC2965Spec(final String[] datepatterns, boolean oneHeader) {
  super(datepatterns, oneHeader);
  registerAttribHandler(ClientCookie.DOMAIN_ATTR, new RFC2965DomainAttributeHandler());
  registerAttribHandler(ClientCookie.PORT_ATTR, new RFC2965PortAttributeHandler());
  registerAttribHandler(ClientCookie.COMMENTURL_ATTR, new RFC2965CommentUrlAttributeHandler());
  registerAttribHandler(ClientCookie.DISCARD_ATTR, new RFC2965DiscardAttributeHandler());
  registerAttribHandler(ClientCookie.VERSION_ATTR, new RFC2965VersionAttributeHandler());
}

origin: com.gluonhq/robovm-rt

public RFC2965Spec(final String[] datepatterns, boolean oneHeader) {
  super(datepatterns, oneHeader);
  registerAttribHandler(ClientCookie.DOMAIN_ATTR, new RFC2965DomainAttributeHandler());
  registerAttribHandler(ClientCookie.PORT_ATTR, new RFC2965PortAttributeHandler());
  registerAttribHandler(ClientCookie.COMMENTURL_ATTR, new RFC2965CommentUrlAttributeHandler());
  registerAttribHandler(ClientCookie.DISCARD_ATTR, new RFC2965DiscardAttributeHandler());
  registerAttribHandler(ClientCookie.VERSION_ATTR, new RFC2965VersionAttributeHandler());
}

origin: ibinti/bugvm

public RFC2965Spec(final String[] datepatterns, final boolean oneHeader) {
  super(oneHeader,
      new RFC2965VersionAttributeHandler(),
      new BasicPathHandler(),
      new RFC2965DomainAttributeHandler(),
      new RFC2965PortAttributeHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new BasicExpiresHandler(
          datepatterns != null ? datepatterns.clone() : DATE_PATTERNS),
      new RFC2965CommentUrlAttributeHandler(),
      new RFC2965DiscardAttributeHandler());
}
origin: com.bugvm/bugvm-rt

public RFC2965Spec(final String[] datepatterns, final boolean oneHeader) {
  super(oneHeader,
      new RFC2965VersionAttributeHandler(),
      new BasicPathHandler(),
      new RFC2965DomainAttributeHandler(),
      new RFC2965PortAttributeHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new BasicExpiresHandler(
          datepatterns != null ? datepatterns.clone() : DATE_PATTERNS),
      new RFC2965CommentUrlAttributeHandler(),
      new RFC2965DiscardAttributeHandler());
}
origin: com.hynnet/httpclient

public RFC2965Spec(final String[] datepatterns, final boolean oneHeader) {
  super(oneHeader,
      new RFC2965VersionAttributeHandler(),
      new BasicPathHandler(),
      new RFC2965DomainAttributeHandler(),
      new RFC2965PortAttributeHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new BasicExpiresHandler(
          datepatterns != null ? datepatterns.clone() : DATE_PATTERNS),
      new RFC2965CommentUrlAttributeHandler(),
      new RFC2965DiscardAttributeHandler());
}
origin: Nextdoor/bender

public RFC2965Spec(final String[] datepatterns, final boolean oneHeader) {
  super(oneHeader,
      new RFC2965VersionAttributeHandler(),
      new BasicPathHandler(),
      new RFC2965DomainAttributeHandler(),
      new RFC2965PortAttributeHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new BasicExpiresHandler(
          datepatterns != null ? datepatterns.clone() : DATE_PATTERNS),
      new RFC2965CommentUrlAttributeHandler(),
      new RFC2965DiscardAttributeHandler());
}
origin: ibinti/bugvm

@Override
public CookieSpec create(final HttpContext context) {
  if (cookieSpec == null) {
    synchronized (this) {
      if (cookieSpec == null) {
        this.cookieSpec = new RFC2965Spec(this.oneHeader,
            new RFC2965VersionAttributeHandler(),
            new BasicPathHandler(),
            PublicSuffixDomainFilter.decorate(
                new RFC2965DomainAttributeHandler(), this.publicSuffixMatcher),
            new RFC2965PortAttributeHandler(),
            new BasicMaxAgeHandler(),
            new BasicSecureHandler(),
            new BasicCommentHandler(),
            new RFC2965CommentUrlAttributeHandler(),
            new RFC2965DiscardAttributeHandler());
      }
    }
  }
  return this.cookieSpec;
}
origin: com.impetus.fabric/fabric-jdbc-driver-shaded

@Override
public CookieSpec create(final HttpContext context) {
  if (cookieSpec == null) {
    synchronized (this) {
      if (cookieSpec == null) {
        this.cookieSpec = new RFC2965Spec(this.oneHeader,
            new RFC2965VersionAttributeHandler(),
            new BasicPathHandler(),
            PublicSuffixDomainFilter.decorate(
                new RFC2965DomainAttributeHandler(), this.publicSuffixMatcher),
            new RFC2965PortAttributeHandler(),
            new BasicMaxAgeHandler(),
            new BasicSecureHandler(),
            new BasicCommentHandler(),
            new RFC2965CommentUrlAttributeHandler(),
            new RFC2965DiscardAttributeHandler());
      }
    }
  }
  return this.cookieSpec;
}
origin: com.bugvm/bugvm-rt

@Override
public CookieSpec create(final HttpContext context) {
  if (cookieSpec == null) {
    synchronized (this) {
      if (cookieSpec == null) {
        this.cookieSpec = new RFC2965Spec(this.oneHeader,
            new RFC2965VersionAttributeHandler(),
            new BasicPathHandler(),
            PublicSuffixDomainFilter.decorate(
                new RFC2965DomainAttributeHandler(), this.publicSuffixMatcher),
            new RFC2965PortAttributeHandler(),
            new BasicMaxAgeHandler(),
            new BasicSecureHandler(),
            new BasicCommentHandler(),
            new RFC2965CommentUrlAttributeHandler(),
            new RFC2965DiscardAttributeHandler());
      }
    }
  }
  return this.cookieSpec;
}
origin: Nextdoor/bender

@Override
public CookieSpec create(final HttpContext context) {
  if (cookieSpec == null) {
    synchronized (this) {
      if (cookieSpec == null) {
        this.cookieSpec = new RFC2965Spec(this.oneHeader,
            new RFC2965VersionAttributeHandler(),
            new BasicPathHandler(),
            PublicSuffixDomainFilter.decorate(
                new RFC2965DomainAttributeHandler(), this.publicSuffixMatcher),
            new RFC2965PortAttributeHandler(),
            new BasicMaxAgeHandler(),
            new BasicSecureHandler(),
            new BasicCommentHandler(),
            new RFC2965CommentUrlAttributeHandler(),
            new RFC2965DiscardAttributeHandler());
      }
    }
  }
  return this.cookieSpec;
}
origin: com.hynnet/httpclient

@Override
public CookieSpec create(final HttpContext context) {
  if (cookieSpec == null) {
    synchronized (this) {
      if (cookieSpec == null) {
        this.cookieSpec = new RFC2965Spec(this.oneHeader,
            new RFC2965VersionAttributeHandler(),
            new BasicPathHandler(),
            PublicSuffixDomainFilter.decorate(
                new RFC2965DomainAttributeHandler(), this.publicSuffixMatcher),
            new RFC2965PortAttributeHandler(),
            new BasicMaxAgeHandler(),
            new BasicSecureHandler(),
            new BasicCommentHandler(),
            new RFC2965CommentUrlAttributeHandler(),
            new RFC2965DiscardAttributeHandler());
      }
    }
  }
  return this.cookieSpec;
}
origin: com.impetus.fabric/fabric-jdbc-driver-shaded

public RFC2965Spec(final String[] datepatterns, final boolean oneHeader) {
  super(oneHeader,
      new RFC2965VersionAttributeHandler(),
      new BasicPathHandler() {
        @Override
        public void validate(
            final Cookie cookie, final CookieOrigin origin) throws MalformedCookieException {
          if (!match(cookie, origin)) {
            throw new CookieRestrictionViolationException(
                "Illegal 'path' attribute \"" + cookie.getPath()
                    + "\". Path of origin: \"" + origin.getPath() + "\"");
          }
        }
      },
      new RFC2965DomainAttributeHandler(),
      new RFC2965PortAttributeHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new BasicExpiresHandler(
          datepatterns != null ? datepatterns.clone() : DATE_PATTERNS),
      new RFC2965CommentUrlAttributeHandler(),
      new RFC2965DiscardAttributeHandler());
}
origin: ibinti/bugvm

public DefaultCookieSpec(
    final String[] datepatterns,
    final boolean oneHeader) {
  this.strict = new RFC2965Spec(oneHeader,
      new RFC2965VersionAttributeHandler(),
      new BasicPathHandler(),
      new RFC2965DomainAttributeHandler(),
      new RFC2965PortAttributeHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new RFC2965CommentUrlAttributeHandler(),
      new RFC2965DiscardAttributeHandler());
  this.obsoleteStrict = new RFC2109Spec(oneHeader,
      new RFC2109VersionHandler(),
      new BasicPathHandler(),
      new RFC2109DomainHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler());
  this.netscapeDraft = new NetscapeDraftSpec(
      new BasicDomainHandler(),
      new BasicPathHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new BasicExpiresHandler(
          datepatterns != null ? datepatterns.clone() : new String[]{NetscapeDraftSpec.EXPIRES_PATTERN}));
}
origin: com.bugvm/bugvm-rt

public DefaultCookieSpec(
    final String[] datepatterns,
    final boolean oneHeader) {
  this.strict = new RFC2965Spec(oneHeader,
      new RFC2965VersionAttributeHandler(),
      new BasicPathHandler(),
      new RFC2965DomainAttributeHandler(),
      new RFC2965PortAttributeHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new RFC2965CommentUrlAttributeHandler(),
      new RFC2965DiscardAttributeHandler());
  this.obsoleteStrict = new RFC2109Spec(oneHeader,
      new RFC2109VersionHandler(),
      new BasicPathHandler(),
      new RFC2109DomainHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler());
  this.netscapeDraft = new NetscapeDraftSpec(
      new BasicDomainHandler(),
      new BasicPathHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new BasicExpiresHandler(
          datepatterns != null ? datepatterns.clone() : new String[]{NetscapeDraftSpec.EXPIRES_PATTERN}));
}
origin: com.hynnet/httpclient

public DefaultCookieSpec(
    final String[] datepatterns,
    final boolean oneHeader) {
  this.strict = new RFC2965Spec(oneHeader,
      new RFC2965VersionAttributeHandler(),
      new BasicPathHandler(),
      new RFC2965DomainAttributeHandler(),
      new RFC2965PortAttributeHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new RFC2965CommentUrlAttributeHandler(),
      new RFC2965DiscardAttributeHandler());
  this.obsoleteStrict = new RFC2109Spec(oneHeader,
      new RFC2109VersionHandler(),
      new BasicPathHandler(),
      new RFC2109DomainHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler());
  this.netscapeDraft = new NetscapeDraftSpec(
      new BasicDomainHandler(),
      new BasicPathHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new BasicExpiresHandler(
          datepatterns != null ? datepatterns.clone() : new String[]{NetscapeDraftSpec.EXPIRES_PATTERN}));
}
origin: com.impetus.fabric/fabric-jdbc-driver-shaded

public DefaultCookieSpec(
    final String[] datepatterns,
    final boolean oneHeader) {
  this.strict = new RFC2965Spec(oneHeader,
      new RFC2965VersionAttributeHandler(),
      new BasicPathHandler(),
      new RFC2965DomainAttributeHandler(),
      new RFC2965PortAttributeHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new RFC2965CommentUrlAttributeHandler(),
      new RFC2965DiscardAttributeHandler());
  this.obsoleteStrict = new RFC2109Spec(oneHeader,
      new RFC2109VersionHandler(),
      new BasicPathHandler(),
      new RFC2109DomainHandler(),
      new BasicMaxAgeHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler());
  this.netscapeDraft = new NetscapeDraftSpec(
      new BasicDomainHandler(),
      new BasicPathHandler(),
      new BasicSecureHandler(),
      new BasicCommentHandler(),
      new BasicExpiresHandler(
          datepatterns != null ? datepatterns.clone() : new String[]{NetscapeDraftSpec.EXPIRES_PATTERN}));
}
org.apache.http.impl.cookieRFC2965DomainAttributeHandler<init>

Popular methods of RFC2965DomainAttributeHandler

  • domainMatch
    Performs domain-match as defined by the RFC2965. Host A's name domain-matches host B's if 1. their

Popular in Java

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • onRequestPermissionsResult (Fragment)
  • getSupportFragmentManager (FragmentActivity)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Reference (javax.naming)
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now