public String astring ( ImapRequestLineReader request ) throws ProtocolException { char next = request . nextWordChar ( ) ; switch ( next ) { case ' ' : return consumeQuoted ( request ) ; case ' ' : return consumeLiteral ( request ) ; default : return atom ( request ) ; } }
Reads an argument of type astring from the request .