Class RegisteredEncoder

java.lang.Object
org.eclipse.jetty.websocket.jakarta.common.encoders.RegisteredEncoder

public class RegisteredEncoder extends Object
  • Field Details

    • encoder

      public final Class<? extends jakarta.websocket.Encoder> encoder
    • interfaceType

      public final Class<? extends jakarta.websocket.Encoder> interfaceType
    • objectType

      public final Class<?> objectType
    • primitive

      public final boolean primitive
    • instance

      public jakarta.websocket.Encoder instance
  • Constructor Details

    • RegisteredEncoder

      public RegisteredEncoder(Class<? extends jakarta.websocket.Encoder> encoder, Class<? extends jakarta.websocket.Encoder> interfaceType, Class<?> objectType)
    • RegisteredEncoder

      public RegisteredEncoder(Class<? extends jakarta.websocket.Encoder> encoder, Class<? extends jakarta.websocket.Encoder> interfaceType, Class<?> objectType, boolean primitive)
  • Method Details

    • implementsInterface

      public boolean implementsInterface(Class<? extends jakarta.websocket.Encoder> type)
    • isType

      public boolean isType(Class<?> type)
    • destroyInstance

      public void destroyInstance()
    • toString

      public String toString()
      Overrides:
      toString in class Object