Home | History | Annotate | Download | only in header
      1 /*
      2 * Conditions Of Use
      3 *
      4 * This software was developed by employees of the National Institute of
      5 * Standards and Technology (NIST), an agency of the Federal Government.
      6 * Pursuant to title 15 Untied States Code Section 105, works of NIST
      7 * employees are not subject to copyright protection in the United States
      8 * and are considered to be in the public domain.  As a result, a formal
      9 * license is not needed to use the software.
     10 *
     11 * This software is provided by NIST as a service and is expressly
     12 * provided "AS IS."  NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
     13 * OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
     14 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
     15 * AND DATA ACCURACY.  NIST does not warrant or make any representations
     16 * regarding the use of the software or the results thereof, including but
     17 * not limited to the correctness, accuracy, reliability or usefulness of
     18 * the software.
     19 *
     20 * Permission to use this software is contingent upon your acceptance
     21 * of the terms of this agreement
     22 *
     23 * .
     24 *
     25 */
     26 /*******************************************************************************
     27 * Product of NIST/ITL Advanced Networking Technologies Division (ANTD).        *
     28 *******************************************************************************/
     29 package gov.nist.javax.sip.header;
     30 
     31 import gov.nist.javax.sip.header.ims.WWWAuthenticateHeaderIms;
     32 
     33 import javax.sip.address.URI;
     34 import javax.sip.header.*;
     35 
     36 /**
     37  * The WWWAuthenticate SIP header.
     38  *
     39  * @version 1.2 $Revision: 1.6 $ $Date: 2009/07/17 18:57:41 $
     40  *
     41  *
     42  *
     43  * @see WWWAuthenticateList SIPHeader which strings these together.
     44  */
     45 
     46 public class WWWAuthenticate
     47     extends AuthenticationHeader
     48     implements WWWAuthenticateHeader, WWWAuthenticateHeaderIms {
     49 
     50     /**
     51      * Comment for <code>serialVersionUID</code>
     52      */
     53     private static final long serialVersionUID = 115378648697363486L;
     54 
     55     /**
     56      * Default Constructor.
     57      */
     58     public WWWAuthenticate() {
     59         super(NAME);
     60     }
     61 
     62     /* (non-Javadoc)
     63      * @see gov.nist.javax.sip.header.AuthenticationHeader#getURI()
     64      *
     65      * @since 1.2 this method is deprecated, uri is not a valid paramter for this header
     66      * Fail silently for backwards compatibility
     67      */
     68     public URI getURI() {
     69         return null;
     70     }
     71 
     72     /* (non-Javadoc)
     73      * @see gov.nist.javax.sip.header.AuthenticationHeader#setURI(javax.sip.address.URI)
     74      *
     75      * @since 1.2 this method is deprecated, uri is not a valid paramter for this header
     76      * Fail silently for backwards compatibility
     77      */
     78     public void setURI(URI uri) {
     79         // empty, fail silently
     80     }
     81 
     82 }
     83