| java.lang.Object | |
| ↳ | org.apache.http.cookie.CookieSpecRegistry | 
Cookie specification registry that can be used to obtain the corresponding cookie specification implementation for a given type of type or version of cookie.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          | 
        
          | 
       ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          | 
        
          
          Gets the
           
        
           
            cookie specification
           
          
          with the given name.
          | 
       ||||||||||
| 
          | 
        
          
          Gets the
           
        
           
            cookie specification
           
          
          with the given ID.
          | 
       ||||||||||
| 
          | 
        
          
          Obtains a list containing names of all registered
           
        
           
            cookie 
 specs
           
          
          in their default order.
          | 
       ||||||||||
| 
          | 
        
          
          Registers a
           
        
           
            CookieSpecFactory
           
          
          with the given identifier.
          | 
       ||||||||||
| 
          | 
        
          
          Populates the internal collection of registered
           
        
           
            cookie 
 specs
           
          
          with the content of the map passed as a parameter.
          | 
       ||||||||||
| 
          | 
        
          
          Unregisters the
           
        
           
            CookieSpecFactory
           
          
          with the given ID.
          | 
       ||||||||||
| 
         
          [Expand]
         
          
          Inherited Methods
          
         | 
       |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
         
           
         
         From class
         
          java.lang.Object
         
          | 
       |||||||||||
         Gets the
         
          
           cookie specification
          
         
         with the given name.
        
| name | 
           the
           
            
             cookie specification
            
           
           identifier
           | 
         
|---|
| IllegalStateException | if a policy with the given name cannot be found | 
|---|
         Gets the
         
          
           cookie specification
          
         
         with the given ID.
        
| name | 
           the
           
            
             cookie specification
            
           
           identifier
           | 
         
|---|---|
| params | 
           the
           
            
             HTTP parameters
            
           
           for the cookie
  specification.
           | 
         
| IllegalStateException | if a policy with the given name cannot be found | 
|---|
         Obtains a list containing names of all registered
         
          
           cookie 
 specs
          
         
         in their default order.
 
 Note that the DEFAULT policy (if present) is likely to be the same
 as one of the other policies, but does not have to be.
        
         Registers a
         
          
           CookieSpecFactory
          
         
         with the given identifier. 
 If a specification with the given name already exists it will be overridden.  
 This nameis the same one used to retrieve the
         
          
           CookieSpecFactory
          
         
         from
         
          
           getCookieSpec(String)
          
         
         .
        
| name | the identifier for this specification | 
|---|---|
| factory | 
           the
           
            
             CookieSpecFactory
            
           
           class to register
           | 
         
         Populates the internal collection of registered
         
          
           cookie 
 specs
          
         
         with the content of the map passed as a parameter.
        
| map | cookie specs | 
|---|
         Unregisters the
         
          
           CookieSpecFactory
          
         
         with the given ID.
        
| id | 
           the identifier of the
           
            
             cookie specification
            
           
           to unregister
           | 
         
|---|