question: public Response createResponse ( String responseString ) throws java . text . ParseException { if ( responseString == null ) return new SIPResponse ( ) ; StringMsgParser smp = new StringMsgParser ( ) ; SIPMessage sipMessage = smp . parseSIPMessage ( responseString . getBytes ( ) , true , false , null ) ; if ( ! ( sipMessage instanceof SIPResponse ) ) throw new ParseException ( responseString , 0 ) ; return ( SIPResponse ) sipMessage ; }
target:  Create a response from a string