com.github.dockerjava.netty.handler.JsonRequestHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.docker-java
Show all versions of org.apache.servicemix.bundles.docker-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package com.github.dockerjava.netty.handler;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToByteEncoder;
import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Handler that encodes an outgoing object to JSON.
*
* @author Marcus Linke
*/
public class JsonRequestHandler extends MessageToByteEncoder