类 JsonBindingJsonProcessor


  • public class JsonBindingJsonProcessor
    extends net.dongliu.xhttp.json.JsonProcessor
    Json Processor impl by JSON-B API
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void marshal​(java.lang.Object value, java.io.OutputStream out, java.nio.charset.Charset charset)  
      <T> T unmarshal​(java.io.InputStream in, java.nio.charset.Charset charset, java.lang.reflect.Type type)  
      • 从类继承的方法 net.dongliu.xhttp.json.JsonProcessor

        asyncResponseHandler, asyncResponseHandler, asyncResponseHandler, jsonBody, jsonBody, responseHandler, responseHandler
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • JsonBindingJsonProcessor

        public JsonBindingJsonProcessor()
        Create json processor with default jsonb.
      • JsonBindingJsonProcessor

        public JsonBindingJsonProcessor​(javax.json.bind.Jsonb jsonb)
        Create json processor with jsonb instance.
        参数:
        jsonb - the jsonb
    • 方法详细资料

      • marshal

        public void marshal​(java.lang.Object value,
                            java.io.OutputStream out,
                            java.nio.charset.Charset charset)
                     throws java.io.IOException
        指定者:
        marshal 在类中 net.dongliu.xhttp.json.JsonProcessor
        抛出:
        java.io.IOException
      • unmarshal

        public <T> T unmarshal​(java.io.InputStream in,
                               java.nio.charset.Charset charset,
                               java.lang.reflect.Type type)
                        throws java.io.IOException
        指定者:
        unmarshal 在类中 net.dongliu.xhttp.json.JsonProcessor
        抛出:
        java.io.IOException