类 RouterContext

java.lang.Object
com.dinstone.vertx.web.core.RouterContext

public class RouterContext
extends Object
  • 构造器详细资料

    • RouterContext

      public RouterContext()
  • 方法详细资料

    • getMessageConverter

      public <T> MessageConverter<T> getMessageConverter​(String... mediaTypes)
    • addMessageConverter

      public void addMessageConverter​(MessageConverter<?>... converters)
    • addExceptionHandler

      public void addExceptionHandler​(ExceptionHandler<?>... handlers)
    • getExceptionHandler

      public ExceptionHandler<?> getExceptionHandler​(Class<?> t)
    • getGenericType

      public static Type getGenericType​(Class<?> clazz)
    • isCompatibleType

      public static boolean isCompatibleType​(Class<?> expected, Type actual)