Class BodyDecoderEncoder


  • public class BodyDecoderEncoder
    extends Object
    • Constructor Detail

      • BodyDecoderEncoder

        public BodyDecoderEncoder​(MockServerLogger mockServerLogger)
    • Method Detail

      • bodyToByteBuf

        public io.netty.buffer.ByteBuf bodyToByteBuf​(Body body,
                                                     String contentTypeHeader)
      • bodyToServletResponse

        public void bodyToServletResponse​(javax.servlet.http.HttpServletResponse httpServletResponse,
                                          Body body,
                                          String contentTypeHeader)
      • servletRequestToBody

        public BodyWithContentType servletRequestToBody​(javax.servlet.http.HttpServletRequest servletRequest)