1package javax.sip.message; 2 3import java.text.ParseException; 4import javax.sip.address.URI; 5 6public 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 23 String getMethod(); 24 void setMethod(String method) throws ParseException; 25 26 URI getRequestURI(); 27 void setRequestURI(URI requestURI); 28} 29 30