接口 ProblemDetailJacksonXmlMixin


public interface ProblemDetailJacksonXmlMixin
Provides the same declarations as ProblemDetailJacksonMixin and some additional ones to support XML serialization when jackson-dataformat-xml is on the classpath. Customizes the XML root element name and adds namespace information.

Note that we cannot use @JsonRootName to specify the namespace since that is not inherited by fields of the class. This is why we need a dedicated "mix-in" when jackson-dataformat-xml is on the classpath. For more details, see FasterXML/jackson-dataformat-xml#355.

从以下版本开始:
4.0
作者:
Rossen Stoyanchev, Harry Yang
  • 字段详细资料

    • RFC_7807_NAMESPACE

      static final String RFC_7807_NAMESPACE
      RFC 7807 namespace.
      另请参阅:
  • 方法详细资料

    • getType

      URI getType()
    • getTitle

      String getTitle()
    • getStatus

      int getStatus()
    • getDetail

      String getDetail()
    • getInstance

      URI getInstance()
    • setProperty

      void setProperty(String name, @Nullable Object value)
    • getProperties

      Map<String,Object> getProperties()