Class XmlHandler<B>

java.lang.Object
dev.relism.flash.models.RequestHandler
dev.relism.flash.models.BodyHandler<B>
dev.relism.flash.ext.jackson.JacksonHandler<B>
dev.relism.flash.ext.jackson.xml.XmlHandler<B>

public abstract class XmlHandler<B> extends dev.relism.flash.ext.jackson.JacksonHandler<B>
A handler that takes an XML body of one type.

Everything JsonHandler does, in XML: the body is read off the request stream, verified against its type's constraints, and handed over. Both can live in the same application, on different routes, over the same types.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final dev.relism.flash.ext.jackson.Codec
     

    Methods inherited from class dev.relism.flash.ext.jackson.JacksonHandler

    body

    Methods inherited from class dev.relism.flash.models.BodyHandler

    bodyType, bodyTypeOf, handle, handle

    Methods inherited from class dev.relism.flash.models.RequestHandler

    bind, find, onInit, optional, require

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XmlHandler

      public XmlHandler()
  • Method Details

    • codec

      protected final dev.relism.flash.ext.jackson.Codec codec()
      Specified by:
      codec in class dev.relism.flash.ext.jackson.JacksonHandler<B>