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

How to use
org.apache.commons.httpclient.cookie.RFC2965Spec
constructor

Best Java code snippets using org.apache.commons.httpclient.cookie.RFC2965Spec.<init> (Showing top 5 results out of 315)

origin: commons-httpclient/commons-httpclient

/**
 * @param policy cookie policy to get the CookieSpec for
 * @return cookie specification interface for the given policy
 * 
 * @deprecated Use {@link CookiePolicy#getCookieSpec(String)} 
 */
public static CookieSpec getSpecByPolicy(int policy) {
  switch(policy) {
    case COMPATIBILITY: 
      return new CookieSpecBase(); 
    case NETSCAPE_DRAFT: 
      return new NetscapeDraftSpec(); 
    case RFC2109:
      return new RFC2109Spec();
    case RFC2965:
      return new RFC2965Spec();
    default:
      return getDefaultSpec(); 
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient

/**
 * @param policy cookie policy to get the CookieSpec for
 * @return cookie specification interface for the given policy
 * 
 * @deprecated Use {@link CookiePolicy#getCookieSpec(String)} 
 */
public static CookieSpec getSpecByPolicy(int policy) {
  switch(policy) {
    case COMPATIBILITY: 
      return new CookieSpecBase(); 
    case NETSCAPE_DRAFT: 
      return new NetscapeDraftSpec(); 
    case RFC2109:
      return new RFC2109Spec();
    case RFC2965:
      return new RFC2965Spec();
    default:
      return getDefaultSpec(); 
  }
}
origin: org.apache.commons/httpclient

/**
 * @param policy cookie policy to get the CookieSpec for
 * @return cookie specification interface for the given policy
 * 
 * @deprecated Use {@link CookiePolicy#getCookieSpec(String)} 
 */
public static CookieSpec getSpecByPolicy(int policy) {
  switch(policy) {
    case COMPATIBILITY: 
      return new CookieSpecBase(); 
    case NETSCAPE_DRAFT: 
      return new NetscapeDraftSpec(); 
    case RFC2109:
      return new RFC2109Spec();
    case RFC2965:
      return new RFC2965Spec();
    default:
      return getDefaultSpec(); 
  }
}
origin: org.apache.commons/com.springsource.org.apache.commons.httpclient

/**
 * @param policy cookie policy to get the CookieSpec for
 * @return cookie specification interface for the given policy
 * 
 * @deprecated Use {@link CookiePolicy#getCookieSpec(String)} 
 */
public static CookieSpec getSpecByPolicy(int policy) {
  switch(policy) {
    case COMPATIBILITY: 
      return new CookieSpecBase(); 
    case NETSCAPE_DRAFT: 
      return new NetscapeDraftSpec(); 
    case RFC2109:
      return new RFC2109Spec();
    case RFC2965:
      return new RFC2965Spec();
    default:
      return getDefaultSpec(); 
  }
}
origin: org.wso2.commons-httpclient/commons-httpclient

/**
 * @param policy cookie policy to get the CookieSpec for
 * @return cookie specification interface for the given policy
 * 
 * @deprecated Use {@link CookiePolicy#getCookieSpec(String)} 
 */
public static CookieSpec getSpecByPolicy(int policy) {
  switch(policy) {
    case COMPATIBILITY: 
      return new CookieSpecBase(); 
    case NETSCAPE_DRAFT: 
      return new NetscapeDraftSpec(); 
    case RFC2109:
      return new RFC2109Spec();
    case RFC2965:
      return new RFC2965Spec();
    default:
      return getDefaultSpec(); 
  }
}
org.apache.commons.httpclient.cookieRFC2965Spec<init>

Javadoc

Default constructor

Popular methods of RFC2965Spec

  • createPortAttribute
    Retrieves valid Port attribute value for the given ports array. e.g. "8000,8001,8002"
  • doFormatCookie2
  • domainMatch
    Performs domain-match as defined by the RFC2965. Host A's name domain-matches host B's if 1. their h
  • findAttribHandler
    Finds an attribute handler CookieAttributeHandler for the given attribute. Returns null if no attrib
  • getAttribHandlerIterator
  • getEffectiveHost
    Gets 'effective host name' as defined in RFC 2965. If a host name contains no dots, the effective ho
  • getVersion
  • parse
    Parses the Set-Cookie2 value into an array of Cookies.The syntax for the Set-Cookie2 response header
  • parseAttribute
    Parse RFC 2965 specific cookie attribute and update the corresponsing org.apache.commons.httpclient.
  • pathMatch
  • registerAttribHandler
  • registerAttribHandler

Popular in Java

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • Kernel (java.awt.image)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • From CI to AI: The AI layer in your organization
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