public final class com.sun.xml.internal.ws.message.DataHandlerAttachment 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.DataHandlerAttachment
super_class: java.lang.Object
{
private final javax.activation.DataHandler dh;
descriptor: Ljavax/activation/DataHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String contentId;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
java.lang.String contentIdNoAngleBracket;
descriptor: Ljava/lang/String;
flags: (0x0000)
public void <init>(java.lang.String, javax.activation.DataHandler);
descriptor: (Ljava/lang/String;Ljavax/activation/DataHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield com.sun.xml.internal.ws.message.DataHandlerAttachment.dh:Ljavax/activation/DataHandler;
2: aload 0
aload 1
putfield com.sun.xml.internal.ws.message.DataHandlerAttachment.contentId:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/ws/message/DataHandlerAttachment;
0 4 1 contentId Ljava/lang/String;
0 4 2 dh Ljavax/activation/DataHandler;
RuntimeInvisibleParameterAnnotations:
0:
com.sun.istack.internal.NotNull()
1:
com.sun.istack.internal.NotNull()
MethodParameters:
Name Flags
contentId
dh
public java.lang.String getContentId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.contentIdNoAngleBracket:Ljava/lang/String;
ifnonnull 4
1: aload 0
aload 0
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.contentId:Ljava/lang/String;
putfield com.sun.xml.internal.ws.message.DataHandlerAttachment.contentIdNoAngleBracket:Ljava/lang/String;
2: aload 0
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.contentIdNoAngleBracket:Ljava/lang/String;
ifnull 4
aload 0
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.contentIdNoAngleBracket:Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 60
if_icmpne 4
3: aload 0
aload 0
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.contentIdNoAngleBracket:Ljava/lang/String;
iconst_1
aload 0
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.contentIdNoAngleBracket:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield com.sun.xml.internal.ws.message.DataHandlerAttachment.contentIdNoAngleBracket:Ljava/lang/String;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.contentIdNoAngleBracket:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/ws/message/DataHandlerAttachment;
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.DataHandlerAttachment.dh:Ljavax/activation/DataHandler;
invokevirtual javax.activation.DataHandler.getContentType:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/message/DataHandlerAttachment;
public byte[] asByteArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.dh:Ljavax/activation/DataHandler;
aload 1
invokevirtual javax.activation.DataHandler.writeTo:(Ljava/io/OutputStream;)V
2: aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
3: areturn
end local 1 4: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 5: new javax.xml.ws.WebServiceException
dup
aload 1
invokespecial javax.xml.ws.WebServiceException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/ws/message/DataHandlerAttachment;
1 4 1 os Ljava/io/ByteArrayOutputStream;
5 6 1 e Ljava/io/IOException;
Exception table:
from to target type
0 3 4 Class java.io.IOException
public javax.activation.DataHandler asDataHandler();
descriptor: ()Ljavax/activation/DataHandler;
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.DataHandlerAttachment.dh:Ljavax/activation/DataHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/message/DataHandlerAttachment;
public javax.xml.transform.Source asSource();
descriptor: ()Ljavax/xml/transform/Source;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new javax.xml.transform.stream.StreamSource
dup
aload 0
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.dh:Ljavax/activation/DataHandler;
invokevirtual javax.activation.DataHandler.getInputStream:()Ljava/io/InputStream;
invokespecial javax.xml.transform.stream.StreamSource.<init>:(Ljava/io/InputStream;)V
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new javax.xml.ws.WebServiceException
dup
aload 1
invokespecial javax.xml.ws.WebServiceException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/ws/message/DataHandlerAttachment;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
public java.io.InputStream asInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.dh:Ljavax/activation/DataHandler;
invokevirtual javax.activation.DataHandler.getInputStream:()Ljava/io/InputStream;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new javax.xml.ws.WebServiceException
dup
aload 1
invokespecial javax.xml.ws.WebServiceException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/ws/message/DataHandlerAttachment;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
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 0
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.dh:Ljavax/activation/DataHandler;
aload 1
invokevirtual javax.activation.DataHandler.writeTo:(Ljava/io/OutputStream;)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/DataHandlerAttachment;
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
getfield com.sun.xml.internal.ws.message.DataHandlerAttachment.dh: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.DataHandlerAttachment.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/DataHandlerAttachment;
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: "DataHandlerAttachment.java"