@Stability.Uncommitted public class ViewErrorContext extends ErrorContext
Context.ExportFormat
Constructor and Description |
---|
ViewErrorContext(ResponseStatus responseStatus,
RequestContext requestContext,
ViewError viewError,
int httpStatus) |
Modifier and Type | Method and Description |
---|---|
ViewError |
error() |
int |
httpStatus() |
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.
|
RequestContext |
requestContext() |
responseStatus
exportAsString, toString
public ViewErrorContext(ResponseStatus responseStatus, RequestContext requestContext, ViewError viewError, int httpStatus)
public RequestContext requestContext()
public int httpStatus()
public ViewError error()
public void injectExportableParams(Map<String,Object> input)
AbstractContext
injectExportableParams
in class ErrorContext
input
- pass exportable params in here.Copyright © 2020 Couchbase, Inc.. All rights reserved.