Class ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction

java.lang.Object
net.bytebuddy.dynamic.loading.ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction
All Implemented Interfaces:
PrivilegedAction<URL>
Enclosing class:
ByteArrayClassLoader.PersistenceHandler

@Enhance protected static class ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction extends Object implements PrivilegedAction<URL>
An action to define a URL that represents a class file.
  • Field Details

    • ENCODING

      private static final String ENCODING
      The URL's encoding character set.
      See Also:
    • NO_PORT

      private static final int NO_PORT
      A value to define a standard port as Byte Buddy's URLs do not represent a port.
      See Also:
    • NO_FILE

      private static final String NO_FILE
      Indicates that Byte Buddy's URLs do not have a file segment.
      See Also:
    • typeName

      private final String typeName
      The name of the type that this URL represents.
    • binaryRepresentation

      private final byte[] binaryRepresentation
      The binary representation of the type's class file.
  • Constructor Details

    • UrlDefinitionAction

      protected UrlDefinitionAction(String typeName, byte[] binaryRepresentation)
      Creates a new URL definition action.
      Parameters:
      typeName - The name of the type that this URL represents.
      binaryRepresentation - The binary representation of the type's class file.
  • Method Details