182ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyanpackage javax.sip.header; 282ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan 382ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyanimport java.text.ParseException; 482ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyanimport javax.sip.InvalidArgumentException; 582ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan 682ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyanpublic interface RetryAfterHeader extends Header, Parameters { 782ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan String NAME = "Retry-After"; 882ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan 982ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan String getComment(); 1082ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan void setComment(String comment) throws ParseException; 1182ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan boolean hasComment(); 1282ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan void removeComment(); 1382ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan 1482ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan int getDuration(); 1582ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan void setDuration(int duration) throws InvalidArgumentException; 1682ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan void removeDuration(); 1782ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan 1882ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan int getRetryAfter(); 1982ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan void setRetryAfter(int retryAfter) throws InvalidArgumentException; 2082ea0633e3a0e2d77feed89f033e1dcf4a656c20Hung-ying Tyan} 21