public static Digest valueOf ( final String value ) { final String [ ] parts = value . split ( "=" , 2 ) ; if ( parts . length == 2 ) { return new Digest ( parts [ 0 ] , parts [ 1 ] ) ; } return null ; }
Get a Digest object from a string - based header value