support web:// location
add defaultXXX methods
fix javadoc