Class HttpUtils
- java.lang.Object
-
- org.apache.archiva.redback.integration.HttpUtils
-
public class HttpUtils extends Object
Collection of Utility methods useful in an Http environment.- Author:
- Joakim Erdfelt
-
-
Constructor Summary
Constructors Constructor Description HttpUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Properties
complexHeaderToProperties(String rawheader, String majorDelim, String subDelim)
Convert typical complex header into properties.
-
-
-
Constructor Detail
-
HttpUtils
public HttpUtils()
-
-
Method Detail
-
complexHeaderToProperties
public static Properties complexHeaderToProperties(String rawheader, String majorDelim, String subDelim)
Convert typical complex header into properties. Example:realm="Somewhere Over The Rainbow", domain="kansas.co.us", nonce="65743ABCF"
becomes
Map ( "realm", "Somewhere Over The Rainbox" ) Map ( "domain", "kansas.co.us" ) Map ( "nonce", "65743ABCF" )
- Parameters:
rawheader
-majorDelim
-subDelim
-- Returns:
-
-