Package de.narimo.commons.ws.http
Class HTTPRequestWrapper
- java.lang.Object
-
- de.narimo.commons.ws.http.HTTPRequestWrapper
-
public class HTTPRequestWrapper extends Object
-
-
Constructor Summary
Constructors Constructor Description HTTPRequestWrapper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)static de.narimo.commons.http.URLResponsesendRequest(HTTPRequestParams params, boolean toExternal)Sends an http request and removes all authentication related params, if this is an external request, before sending.
-
-
-
Method Detail
-
sendRequest
public static de.narimo.commons.http.URLResponse sendRequest(HTTPRequestParams params, boolean toExternal) throws Exception
Sends an http request and removes all authentication related params, if this is an external request, before sending.- Parameters:
params-- Returns:
- Throws:
Exception
-
main
public static void main(String[] args)
-
-