Enum SslHandler.SslEngineType

java.lang.Object
java.lang.Enum<SslHandler.SslEngineType>
io.netty.handler.ssl.SslHandler.SslEngineType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SslHandler.SslEngineType>
Enclosing class:
SslHandler

private static enum SslHandler.SslEngineType extends java.lang.Enum<SslHandler.SslEngineType>
  • Enum Constant Details

  • Field Details

  • Constructor Details

  • Method Details

    • values

      public static SslHandler.SslEngineType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SslHandler.SslEngineType valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • forEngine

      static SslHandler.SslEngineType forEngine(javax.net.ssl.SSLEngine engine)
    • unwrap

      abstract javax.net.ssl.SSLEngineResult unwrap(SslHandler handler, ByteBuf in, int len, ByteBuf out) throws javax.net.ssl.SSLException
      Throws:
      javax.net.ssl.SSLException
    • calculatePendingData

      abstract int calculatePendingData(SslHandler handler, int guess)
    • calculateInitialUnwrapBufSize

      abstract int calculateInitialUnwrapBufSize(SslHandler handler, int length)
    • jdkCompatibilityMode

      abstract boolean jdkCompatibilityMode(javax.net.ssl.SSLEngine engine)
    • allocateWrapBuffer

      abstract ByteBuf allocateWrapBuffer(SslHandler handler, ByteBufAllocator allocator, int pendingBytes, int numComponents)
    • calculateRequiredOutBufSpace

      abstract int calculateRequiredOutBufSpace(SslHandler handler, int pendingBytes, int numComponents)