1 package 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 */ 27 import javax.sip.header.Header; 28 29 /** 30 * 31 * @author aayush.bhatnagar 32 * 33 * The ABNF for this header is all follows: 34 * 35 * PPreferredService = "P-Preferred-Service" 36 * HCOLON PPreferredService-value 37 * 38 * PPreferredService-value = Service-ID *(COMMA Service-ID) 39 * 40 * where, 41 * 42 * Service-ID = "urn:urn-7:" urn-service-id 43 * urn-service-id = top-level *("." sub-service-id) 44 * top-level = let-dig [ *26let-dig ] 45 * sub-service-id = let-dig [ *let-dig ] 46 * let-dig = ALPHA / DIGIT / "-" 47 * 48 * Egs: P-Preferred-Service: urn:urn-7:3gpp-service.exampletelephony.version1 49 * P-Preferred-Service: urn:urn-7:3gpp-application.exampletelephony.version1 50 * 51 */ 52 public interface PPreferredServiceHeader extends Header{ 53 54 public static final String NAME = "P-Preferred-Service"; 55 setSubserviceIdentifiers(String subservices)56 public void setSubserviceIdentifiers(String subservices); 57 getSubserviceIdentifiers()58 public String getSubserviceIdentifiers(); 59 setApplicationIdentifiers(String appids)60 public void setApplicationIdentifiers(String appids); 61 getApplicationIdentifiers()62 public String getApplicationIdentifiers(); 63 64 65 } 66