Uses of Class
com.hybris.ymkt.common.http.HttpURLConnectionRequest
Packages that use HttpURLConnectionRequest
-
Uses of HttpURLConnectionRequest in com.hybris.ymkt.common.http
Methods in com.hybris.ymkt.common.http with parameters of type HttpURLConnectionRequestModifier and TypeMethodDescriptionHttpURLConnectionService.execute(HttpURLConnectionRequest request) This method execute a request and return a response.
No exception will be thrown as the caller is responsible to check theHttpURLConnectionResponse.getIOException().protected voidHttpURLConnectionService.logExecution(HttpURLConnectionRequest request, HttpURLConnectionResponse response) -
Uses of HttpURLConnectionRequest in com.hybris.ymkt.common.odata
Methods in com.hybris.ymkt.common.odata with parameters of type HttpURLConnectionRequestModifier and TypeMethodDescriptionprotected HttpURLConnectionResponseODataService.executeWithBasicAuth(HttpURLConnectionRequest request) Execute the request with Authorization : "Basic BASE64user:pass".
Using this method will create a new http session (unnecessary cost) on the yMKT side.
It is preferable to useODataService.executeWithRetry(HttpURLConnectionRequest)for most execution scenarios.ODataService.executeWithRetry(HttpURLConnectionRequest request) Execute the request with "cookie" & "x-csrf-token".
If the existing session and/or token expired, those are refreshed and the request is re-tried.