Class MediaAnalyzer

java.lang.Object
io.vertx.up.uca.rs.mime.MediaAnalyzer
All Implemented Interfaces:
Analyzer, Income<Object[]>

public class MediaAnalyzer extends Object implements Analyzer
  • Constructor Details

    • MediaAnalyzer

      public MediaAnalyzer()
  • Method Details

    • in

      public Object[] in(io.vertx.ext.web.RoutingContext context, Event event) throws io.horizon.exception.WebException
      Description copied from interface: Income
      request mime analyzing
      Specified by:
      in in interface Income<Object[]>
      Parameters:
      context - RoutingContext environment here
      event - Event definition for method declared.
      Returns:
      Extract `T` processing
      Throws:
      io.horizon.exception.WebException
    • out

      public Envelop out(Envelop envelop, Event event) throws io.horizon.exception.WebException
      Description copied from interface: Analyzer
      response mime analyzing
      Specified by:
      out in interface Analyzer
      Parameters:
      envelop - Input Request of uniform model
      event - Event definition
      Returns:
      Normalized Request
      Throws:
      io.horizon.exception.WebException - Common exception