Class RequestUtil
- java.lang.Object
-
- io.fabric8.maven.docker.access.util.RequestUtil
-
public class RequestUtil extends Object
- Since:
- 30/11/14
- Author:
- roland
-
-
Field Summary
Fields Modifier and Type Field Description static StringHEADER_ACCEPTstatic StringHEADER_ACCEPT_ALL
-
Constructor Summary
Constructors Constructor Description RequestUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.http.client.methods.HttpUriRequestaddDefaultHeaders(org.apache.http.client.methods.HttpUriRequest req)static Stringencode(String param)static org.apache.http.client.methods.HttpUriRequestnewDelete(String url)static org.apache.http.client.methods.HttpUriRequestnewGet(String url)static org.apache.http.client.methods.HttpUriRequestnewPost(String url, String body)
-
-
-
Field Detail
-
HEADER_ACCEPT
public static final String HEADER_ACCEPT
- See Also:
- Constant Field Values
-
HEADER_ACCEPT_ALL
public static final String HEADER_ACCEPT_ALL
- See Also:
- Constant Field Values
-
-
Method Detail
-
newGet
public static org.apache.http.client.methods.HttpUriRequest newGet(String url)
-
newPost
public static org.apache.http.client.methods.HttpUriRequest newPost(String url, String body)
-
newDelete
public static org.apache.http.client.methods.HttpUriRequest newDelete(String url)
-
addDefaultHeaders
public static org.apache.http.client.methods.HttpUriRequest addDefaultHeaders(org.apache.http.client.methods.HttpUriRequest req)
-
-