Class ContentCodecRegistry.Codec

  • Enclosing class:
    ContentCodecRegistry

    static final class ContentCodecRegistry.Codec
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> decoder  
      (package private) java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> encoder  
    • Constructor Summary

      Constructors 
      Constructor Description
      Codec​(java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> enc, java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> dec)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static ContentCodecRegistry.Codec decodeOnly​(java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> d)  
      (package private) static ContentCodecRegistry.Codec encodeOnly​(java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> e)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • encoder

        final java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> encoder
      • decoder

        final java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> decoder
    • Constructor Detail

      • Codec

        Codec​(java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> enc,
              java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> dec)
    • Method Detail

      • encodeOnly

        static ContentCodecRegistry.Codec encodeOnly​(java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> e)
      • decodeOnly

        static ContentCodecRegistry.Codec decodeOnly​(java.util.function.UnaryOperator<org.apache.hc.core5.http.HttpEntity> d)