Package net.webpdf.wsclient.openapi
Class OperationConverterHtmlErrorReport
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationConverterHtmlErrorReport
-
public class OperationConverterHtmlErrorReport extends Object
This parameter specifies whether HTML content errors should be detected and, if so, whether a report should be provided along with the error code. The report is created only if at least one error was found. If the parameter is not specified, then any errors that may occur in the HTML document will not be detected and will be silently ignored. **Important:** This parameter refers only to the content of the passed HTML document and not to the web service call itself.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationConverterHtmlErrorReport.FormatEnumDefines the output format of the error reportstatic classOperationConverterHtmlErrorReport.ModeEnumThis parameter specifies whether HTML content errors should be detected and, if so, how to provide a report with the errors.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FORMATstatic StringJSON_PROPERTY_MODE
-
Constructor Summary
Constructors Constructor Description OperationConverterHtmlErrorReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)OperationConverterHtmlErrorReportformat(OperationConverterHtmlErrorReport.FormatEnum format)@Nullable OperationConverterHtmlErrorReport.FormatEnumgetFormat()Defines the output format of the error report@Nullable OperationConverterHtmlErrorReport.ModeEnumgetMode()This parameter specifies whether HTML content errors should be detected and, if so, how to provide a report with the errors.inthashCode()OperationConverterHtmlErrorReportmode(OperationConverterHtmlErrorReport.ModeEnum mode)voidsetFormat(OperationConverterHtmlErrorReport.FormatEnum format)voidsetMode(OperationConverterHtmlErrorReport.ModeEnum mode)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_FORMAT
public static final String JSON_PROPERTY_FORMAT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MODE
public static final String JSON_PROPERTY_MODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
format
public OperationConverterHtmlErrorReport format(OperationConverterHtmlErrorReport.FormatEnum format)
-
getFormat
@Nullable public @Nullable OperationConverterHtmlErrorReport.FormatEnum getFormat()
Defines the output format of the error report. * xml = XML document. * json = JSON document- Returns:
- format
-
setFormat
public void setFormat(OperationConverterHtmlErrorReport.FormatEnum format)
-
mode
public OperationConverterHtmlErrorReport mode(OperationConverterHtmlErrorReport.ModeEnum mode)
-
getMode
@Nullable public @Nullable OperationConverterHtmlErrorReport.ModeEnum getMode()
This parameter specifies whether HTML content errors should be detected and, if so, how to provide a report with the errors. A detected error can be a failed download of a resource (for example, an image) or a script or CSS syntax error. * none = No content errors are detected and no report is generated and returned. * message = Content errors are detected and the report is returned as part of the error message- Returns:
- mode
-
setMode
public void setMode(OperationConverterHtmlErrorReport.ModeEnum mode)
-
-