public final class com.sun.xml.internal.ws.message.ByteArrayAttachment implements com.sun.xml.internal.ws.api.message.Attachment
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.ws.message.ByteArrayAttachment
super_class: java.lang.Object
{
private final java.lang.String contentId;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private byte[] data;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int start;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final int len;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String mimeType;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, byte[], int, int, java.lang.String);
descriptor: (Ljava/lang/String;[BIILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.xml.internal.ws.message.ByteArrayAttachment.contentId:Ljava/lang/String;
2: aload 0
aload 2
putfield com.sun.xml.internal.ws.message.ByteArrayAttachment.data:[B
3: aload 0
iload 3
putfield com.sun.xml.internal.ws.message.ByteArrayAttachment.start:I
4: aload 0
iload 4
putfield com.sun.xml.internal.ws.message.ByteArrayAttachment.len:I
5: aload 0
aload 5
putfield com.sun.xml.internal.ws.message.ByteArrayAttachment.mimeType:Ljava/lang/String;
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/xml/internal/ws/message/ByteArrayAttachment;
0 7 1 contentId Ljava/lang/String;
0 7 2 data [B
0 7 3 start I
0 7 4 len I
0 7 5 mimeType Ljava/lang/String;
RuntimeInvisibleParameterAnnotations:
0:
com.sun.istack.internal.NotNull()
1:
2:
3:
4:
MethodParameters:
Name Flags
contentId
data
start
len
mimeType
public void <init>(java.lang.String, byte[], java.lang.String);
descriptor: (Ljava/lang/String;[BLjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iconst_0
aload 2
arraylength
aload 3
invokespecial com.sun.xml.internal.ws.message.ByteArrayAttachment.<init>:(Ljava/lang/String;[BIILjava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/ws/message/ByteArrayAttachment;
0 2 1 contentId Ljava/lang/String;
0 2 2 data [B
0 2 3 mimeType Ljava/lang/String;
RuntimeInvisibleParameterAnnotations:
0:
com.sun.istack.internal.NotNull()
1:
2:
MethodParameters:
Name Flags
contentId
data
mimeType
public java.lang.String getContentId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.contentId:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/message/ByteArrayAttachment;
public java.lang.String getContentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.mimeType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/message/ByteArrayAttachment;
public byte[] asByteArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.start:I
ifne 1
aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.len:I
aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.data:[B
arraylength
if_icmpeq 5
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.len:I
newarray 8
astore 1
start local 1 2: aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.data:[B
aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.start:I
aload 1
iconst_0
aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.len:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
iconst_0
putfield com.sun.xml.internal.ws.message.ByteArrayAttachment.start:I
4: aload 0
aload 1
putfield com.sun.xml.internal.ws.message.ByteArrayAttachment.data:[B
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.data:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/ws/message/ByteArrayAttachment;
2 5 1 exact [B
public javax.activation.DataHandler asDataHandler();
descriptor: ()Ljavax/activation/DataHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tType mismatch: cannot convert from DataSourceStreamingDataHandler to DataHandler\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/message/ByteArrayAttachment;
public javax.xml.transform.Source asSource();
descriptor: ()Ljavax/xml/transform/Source;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new javax.xml.transform.stream.StreamSource
dup
aload 0
invokevirtual com.sun.xml.internal.ws.message.ByteArrayAttachment.asInputStream:()Ljava/io/InputStream;
invokespecial javax.xml.transform.stream.StreamSource.<init>:(Ljava/io/InputStream;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/message/ByteArrayAttachment;
public java.io.InputStream asInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new java.io.ByteArrayInputStream
dup
aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.data:[B
aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.start:I
aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.len:I
invokespecial java.io.ByteArrayInputStream.<init>:([BII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/message/ByteArrayAttachment;
public void writeTo(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.sun.xml.internal.ws.message.ByteArrayAttachment.asByteArray:()[B
invokevirtual java.io.OutputStream.write:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/ws/message/ByteArrayAttachment;
0 2 1 os Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
public void writeTo(javax.xml.soap.SOAPMessage);
descriptor: (Ljavax/xml/soap/SOAPMessage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.xml.soap.SOAPMessage.createAttachmentPart:()Ljavax/xml/soap/AttachmentPart;
astore 2
start local 2 1: aload 2
aload 0
invokevirtual com.sun.xml.internal.ws.message.ByteArrayAttachment.asDataHandler:()Ljavax/activation/DataHandler;
invokevirtual javax.xml.soap.AttachmentPart.setDataHandler:(Ljavax/activation/DataHandler;)V
2: aload 2
aload 0
getfield com.sun.xml.internal.ws.message.ByteArrayAttachment.contentId:Ljava/lang/String;
invokevirtual javax.xml.soap.AttachmentPart.setContentId:(Ljava/lang/String;)V
3: aload 1
aload 2
invokevirtual javax.xml.soap.SOAPMessage.addAttachmentPart:(Ljavax/xml/soap/AttachmentPart;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/ws/message/ByteArrayAttachment;
0 5 1 saaj Ljavax/xml/soap/SOAPMessage;
1 5 2 part Ljavax/xml/soap/AttachmentPart;
Exceptions:
throws javax.xml.soap.SOAPException
MethodParameters:
Name Flags
saaj
}
SourceFile: "ByteArrayAttachment.java"