Class UrlBuilder
- java.lang.Object
-
- ch.phatec.publibike.network.utils.UrlBuilder
-
public class UrlBuilder extends Object
- Author:
- thomas pauli | phatec.ch
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static URIbuild(RequestType type, Object... params)Build the url with the given parameters and the givenRequestType.
-
-
-
Method Detail
-
build
public static URI build(RequestType type, Object... params)
Build the url with the given parameters and the givenRequestType.- Parameters:
type- TheRequestTypefor which theURIshould be builded.params- The parameters which should be added to theURI.- Returns:
- The builded
URIwith the given parameters and the givenRequestType.
-
-