Class ErrorUtils
- java.lang.Object
-
- com.microsoft.azure.cosmosdb.internal.directconnectivity.ErrorUtils
-
public class ErrorUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ErrorUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static rx.Single<String>getErrorFromStream(rx.Observable<io.netty.buffer.ByteBuf> stream, int contentLength)protected static rx.Single<String>getErrorResponseAsync(io.reactivex.netty.protocol.http.client.HttpClientResponse<io.netty.buffer.ByteBuf> responseMessage)protected static voidlogException(String physicalAddress, String activityId)protected static voidlogException(URI physicalAddress, String activityId)protected static voidlogGoneException(String physicalAddress, String activityId)protected static voidlogGoneException(URI physicalAddress, String activityId)
-
-
-
Method Detail
-
getErrorResponseAsync
protected static rx.Single<String> getErrorResponseAsync(io.reactivex.netty.protocol.http.client.HttpClientResponse<io.netty.buffer.ByteBuf> responseMessage)
-
getErrorFromStream
protected static rx.Single<String> getErrorFromStream(rx.Observable<io.netty.buffer.ByteBuf> stream, int contentLength)
-
-