1package gov.nist.javax.sip.header.ims;
2/*
3* Conditions Of Use
4*
5* This software was developed by employees of the National Institute of
6* Standards and Technology (NIST), an agency of the Federal Government.
7* Pursuant to title 15 Untied States Code Section 105, works of NIST
8* employees are not subject to copyright protection in the United States
9* and are considered to be in the public domain.  As a result, a formal
10* license is not needed to use the software.
11*
12* This software is provided by NIST as a service and is expressly
13* provided "AS IS."  NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
14* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
15* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
16* AND DATA ACCURACY.  NIST does not warrant or make any representations
17* regarding the use of the software or the results thereof, including but
18* not limited to the correctness, accuracy, reliability or usefulness of
19* the software.
20*
21* Permission to use this software is contingent upon your acceptance
22* of the terms of this agreement
23*
24* .
25*
26*/
27import javax.sip.header.Header;
28import javax.sip.header.Parameters;
29/**
30 *
31 * @author aayush.bhatnagar
32 * Rancore Technologies Pvt Ltd, Mumbai India.
33 *
34 * This is the interface that exposes the behavior
35 * of the P-User-Database header. We only have one
36 * major value for this header, as per RFC 4457.
37 * This value is the Database name. The DB here refers
38 * to the IMS HSS. The DB name is encoded as a URI, delimited
39 * by the < and > signs. There may be generic parameters for
40 * this header encoded as URI parameters. They also lie between
41 * the < and > delimiters. However, this URI is neither a SIP URI
42 * nor a TEL URI. It is a DIAMETER AAA URI.The value of this AAA URI
43 * is consumed by the S-CSCF. The S-CSCF can cache the value of the
44 * HSS received in this header,thus optimizing the IMS registration
45 * process.
46 *
47 */
48public interface PUserDatabaseHeader extends Parameters,Header
49{
50    public final static String NAME = "P-User-Database";
51
52    public String getDatabaseName();
53
54    public void setDatabaseName(String name);
55
56
57
58}
59