1 package javax.sip.message; 2 3 import java.text.ParseException; 4 import javax.sip.address.URI; 5 6 public interface Request extends Message { 7 String ACK = "ACK"; 8 String BYE = "BYE"; 9 String CANCEL = "CANCEL"; 10 String INVITE = "INVITE"; 11 String OPTIONS = "OPTIONS"; 12 String REGISTER = "REGISTER"; 13 14 String INFO = "INFO"; 15 String MESSAGE = "MESSAGE"; 16 String NOTIFY = "NOTIFY"; 17 String PRACK = "PRACK"; 18 String PUBLISH = "PUBLISH"; 19 String REFER = "REFER"; 20 String SUBSCRIBE = "SUBSCRIBE"; 21 String UPDATE = "UPDATE"; 22 getMethod()23 String getMethod(); setMethod(String method)24 void setMethod(String method) throws ParseException; 25 getRequestURI()26 URI getRequestURI(); setRequestURI(URI requestURI)27 void setRequestURI(URI requestURI); 28 } 29 30