Home | History | Annotate | Download | only in parser

Lines Matching refs:accept

33  * Parser for Accept header.
45 * Creates a new instance of Accept Parser
46 * @param accept the header to parse
48 public AcceptParser(String accept) {
49 super(accept);
61 * parse the Accept String header
72 headerName(TokenTypes.ACCEPT);
74 Accept accept = new Accept();
75 accept.setHeaderName(SIPHeaderNames.ACCEPT);
80 accept.setContentType(token.getTokenValue());
84 accept.setContentSubType(token.getTokenValue());
87 super.parse(accept);
88 list.add(accept);
94 accept = new Accept();
98 accept.setContentType(token.getTokenValue());
102 accept.setContentSubType(token.getTokenValue());
104 super.parse(accept);
105 list.add(accept);