Class ProvidersUtil


  • public class ProvidersUtil
    extends java.lang.Object
    Author:
    Thorben Lindhauer
    • Constructor Summary

      Constructors 
      Constructor Description
      ProvidersUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T resolveFromContext​(javax.ws.rs.ext.Providers providers, java.lang.Class<T> clazz)  
      static <T> T resolveFromContext​(javax.ws.rs.ext.Providers providers, java.lang.Class<T> clazz, java.lang.Class<?> type)  
      static <T> T resolveFromContext​(javax.ws.rs.ext.Providers providers, java.lang.Class<T> clazz, javax.ws.rs.core.MediaType mediaType, java.lang.Class<?> type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProvidersUtil

        public ProvidersUtil()
    • Method Detail

      • resolveFromContext

        public static <T> T resolveFromContext​(javax.ws.rs.ext.Providers providers,
                                               java.lang.Class<T> clazz)
      • resolveFromContext

        public static <T> T resolveFromContext​(javax.ws.rs.ext.Providers providers,
                                               java.lang.Class<T> clazz,
                                               java.lang.Class<?> type)
      • resolveFromContext

        public static <T> T resolveFromContext​(javax.ws.rs.ext.Providers providers,
                                               java.lang.Class<T> clazz,
                                               javax.ws.rs.core.MediaType mediaType,
                                               java.lang.Class<?> type)