Class ManagerErrorContext
java.lang.Object
com.couchbase.client.core.cnc.AbstractContext
com.couchbase.client.core.error.context.ErrorContext
com.couchbase.client.core.error.context.ManagerErrorContext
- All Implemented Interfaces:
Context
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Context
Context.ExportFormat
-
Constructor Summary
ConstructorDescriptionManagerErrorContext
(ResponseStatus responseStatus, RequestContext requestContext, int httpStatus, String content) -
Method Summary
Modifier and TypeMethodDescriptioncontent()
int
void
injectExportableParams
(Map<String, Object> input) This method needs to be implemented by the actual context implementations to inject the params they need for exporting.Methods inherited from class com.couchbase.client.core.error.context.ErrorContext
responseStatus
Methods inherited from class com.couchbase.client.core.cnc.AbstractContext
exportAsMap, exportAsString, toString
-
Constructor Details
-
ManagerErrorContext
public ManagerErrorContext(ResponseStatus responseStatus, RequestContext requestContext, int httpStatus, String content)
-
-
Method Details
-
requestContext
-
httpStatus
public int httpStatus() -
content
-
injectExportableParams
Description copied from class:AbstractContext
This method needs to be implemented by the actual context implementations to inject the params they need for exporting.- Overrides:
injectExportableParams
in classErrorContext
- Parameters:
input
- pass exportable params in here.
-