Class TimelinePutResponseWriter

java.lang.Object
org.apache.hadoop.yarn.api.records.timeline.writer.TimelinePutResponseWriter
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter<TimelinePutResponse>

@Provider @Consumes("application/json") public class TimelinePutResponseWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<TimelinePutResponse>
We have defined a dedicated Writer for TimelinePutResponse, aimed at adapting to the Jersey2 framework to ensure that TimelinePutResponse can be converted into JSON format.
  • Constructor Details

    • TimelinePutResponseWriter

      public TimelinePutResponseWriter()
  • Method Details