小编loc*_*one的帖子

Standard URL Normalization - Java

I would like to ask if there's any Java package or library that have the standard URL normalization?

5 Components of URL Representation

http://www[dot]example[dot]com:8040/folder/exist?name=sky#head

  1. scheme: http
  2. authority: www.example.com:8040
  3. path: /folder/exist
  4. query: ?name=sky
  5. fragment: #head

The 3 types of standard URL normalization

Syntax-Based Normalization

  • Case normalization – convert all letter at scheme and authority components to lower case
  • Percent-encoded normalization – decode any percent-encoded octet that corresponds to unreserved character, such as %2D for hyphen and %5 for underscore
  • Path segment …

java url normalization

9
推荐指数
2
解决办法
8578
查看次数

标签 统计

java ×1

normalization ×1

url ×1