added removeMatrixParameter method to HttpUtil

This commit is contained in:
Sebastian Sdorra
2011-11-27 20:58:03 +01:00
parent f8c61bf85d
commit 3695d1dd4e

View File

@@ -252,6 +252,27 @@ public class HttpUtil
return value;
}
/**
* Method description
*
*
* @param uri
*
* @return
* @since 1.10
*/
public static String removeMatrixParameter(String uri)
{
int index = uri.indexOf(";");
if (index > 0)
{
uri = uri.substring(0, index);
}
return uri;
}
/**
* Send an unauthorized header back to the client
*