FileDocCategorySizeDatePackage
StatusLine.javaAPI DocJMF 2.1.1e838Mon May 12 12:20:56 BST 2003com.sun.media.rtsp.protocol

StatusLine

public class StatusLine extends Parser

Fields Summary
private String
protocol
private int
code
private String
reason
Constructors Summary
public StatusLine(String input)

        ByteArrayInputStream bin = new ByteArrayInputStream(input.getBytes());

        String protocol = getToken(bin);

        Debug.println("protocol : " + protocol);

        code = new Integer(getToken(bin)).intValue();

        Debug.println("code     : " + code);

        reason = getStringToken(bin);

        Debug.println("reason   : " + reason);
    
Methods Summary
public intgetCode()

        return code;
    
public java.lang.StringgetReason()

        return reason;