Uses of Class
com.hybris.ymkt.common.http.HttpURLConnectionResponse
-
Packages that use HttpURLConnectionResponse Package Description com.hybris.ymkt.common.http com.hybris.ymkt.common.odata -
-
Uses of HttpURLConnectionResponse in com.hybris.ymkt.common.http
Methods in com.hybris.ymkt.common.http that return HttpURLConnectionResponse Modifier and Type Method Description HttpURLConnectionResponseHttpURLConnectionService. execute(HttpURLConnectionRequest request)This method execute a request and return a response.
No exception will be thrown as the caller is responsible to check thegetIOException().Methods in com.hybris.ymkt.common.http with parameters of type HttpURLConnectionResponse Modifier and Type Method Description protected voidHttpURLConnectionService. logExecution(HttpURLConnectionRequest request, HttpURLConnectionResponse response) -
Uses of HttpURLConnectionResponse in com.hybris.ymkt.common.odata
Methods in com.hybris.ymkt.common.odata that return HttpURLConnectionResponse Modifier and Type Method Description protected 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.HttpURLConnectionResponseODataService. 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.Methods in com.hybris.ymkt.common.odata with parameters of type HttpURLConnectionResponse Modifier and Type Method Description protected voidODataService. checkStatus(HttpURLConnectionResponse response)
-