Uses of Class
com.hybris.ymkt.common.http.HttpURLConnectionResponse
Packages that use HttpURLConnectionResponse
-
Uses of HttpURLConnectionResponse in com.hybris.ymkt.common.http
Methods in com.hybris.ymkt.common.http that return HttpURLConnectionResponseModifier 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 thegetIOException().Methods in com.hybris.ymkt.common.http with parameters of type HttpURLConnectionResponseModifier and TypeMethodDescriptionprotected voidHttpURLConnectionService.logExecution(HttpURLConnectionRequest request, HttpURLConnectionResponse response) -
Uses of HttpURLConnectionResponse in com.hybris.ymkt.common.odata
Methods in com.hybris.ymkt.common.odata that return HttpURLConnectionResponseModifier 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.Methods in com.hybris.ymkt.common.odata with parameters of type HttpURLConnectionResponseModifier and TypeMethodDescriptionprotected voidODataService.checkStatus(HttpURLConnectionResponse response)