@HashCodeAndEqualsPlugin.Enhance protected static class ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction extends java.lang.Object implements java.security.PrivilegedAction<java.net.URL>
Modifier and Type | Class and Description |
---|---|
protected static class |
ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction.ByteArrayUrlStreamHandler
A stream handler that returns the given binary representation.
|
Modifier and Type | Field and Description |
---|---|
private byte[] |
binaryRepresentation
The binary representation of the type's class file.
|
private static java.lang.String |
ENCODING
The URL's encoding character set.
|
private static java.lang.String |
NO_FILE
Indicates that Byte Buddy's URLs do not have a file segment.
|
private static int |
NO_PORT
A value to define a standard port as Byte Buddy's URLs do not represent a port.
|
private java.lang.String |
typeName
The name of the type that this URL represents.
|
Modifier | Constructor and Description |
---|---|
protected |
UrlDefinitionAction(java.lang.String typeName,
byte[] binaryRepresentation)
Creates a new URL definition action.
|
Modifier and Type | Method and Description |
---|---|
java.net.URL |
run() |
private static final java.lang.String ENCODING
private static final int NO_PORT
private static final java.lang.String NO_FILE
private final java.lang.String typeName
private final byte[] binaryRepresentation
protected UrlDefinitionAction(java.lang.String typeName, byte[] binaryRepresentation)
typeName
- The name of the type that this URL represents.binaryRepresentation
- The binary representation of the type's class file.