public class com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl extends javax.xml.soap.AttachmentPart
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl
super_class: javax.xml.soap.AttachmentPart
{
protected static final java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private final javax.xml.soap.MimeHeaders ;
descriptor: Ljavax/xml/soap/MimeHeaders;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart rawContent;
descriptor: Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
flags: (0x0002) ACC_PRIVATE
private javax.activation.DataHandler dataHandler;
descriptor: Ljavax/activation/DataHandler;
flags: (0x0002) ACC_PRIVATE
private com.sun.xml.internal.org.jvnet.mimepull.MIMEPart mimePart;
descriptor: Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "com.sun.xml.internal.messaging.saaj.soap"
1: ldc "com.sun.xml.internal.messaging.saaj.soap.LocalStrings"
2: invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/logging/Logger;
3: putstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.xml.soap.AttachmentPart.<init>:()V
1: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
2: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
3: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
4: aload 0
new javax.xml.soap.MimeHeaders
dup
invokespecial javax.xml.soap.MimeHeaders.<init>:()V
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
5: invokestatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.initializeJavaActivationHandlers:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
public void <init>(com.sun.xml.internal.org.jvnet.mimepull.MIMEPart);
descriptor: (Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.xml.soap.AttachmentPart.<init>:()V
1: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
2: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
3: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
4: aload 0
new javax.xml.soap.MimeHeaders
dup
invokespecial javax.xml.soap.MimeHeaders.<init>:()V
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
5: aload 0
aload 1
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
6: aload 1
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.getAllHeaders:()Ljava/util/List;
astore 2
start local 2 7: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl com.sun.xml.internal.org.jvnet.mimepull.MIMEPart java.util.List top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.xml.internal.org.jvnet.mimepull.Header
astore 3
start local 3 9: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
aload 3
invokeinterface com.sun.xml.internal.org.jvnet.mimepull.Header.getName:()Ljava/lang/String;
aload 3
invokeinterface com.sun.xml.internal.org.jvnet.mimepull.Header.getValue:()Ljava/lang/String;
invokevirtual javax.xml.soap.MimeHeaders.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 12 1 part Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
7 12 2 hdrs Ljava/util/List<+Lcom/sun/xml/internal/org/jvnet/mimepull/Header;>;
9 10 3 hd Lcom/sun/xml/internal/org/jvnet/mimepull/Header;
MethodParameters:
Name Flags
part
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 5
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.read:()Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
2: ireturn
3: StackMap locals:
StackMap stack: java.io.IOException
pop
4: iconst_m1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
ifnonnull 7
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
ifnonnull 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
ifnull 17
8: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.getSize:()I
9: ireturn
10: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 11: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
12: getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
13: ldc "SAAJ0573.soap.attachment.getrawbytes.ioexception"
14: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
invokevirtual java.lang.Exception.getLocalizedMessage:()Ljava/lang/String;
aastore
15: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
16: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
new java.lang.StringBuilder
dup
ldc "Raw InputStream Error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 1 17: StackMap locals:
StackMap stack:
new com.sun.xml.internal.messaging.saaj.util.ByteOutputStream
dup
invokespecial com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.<init>:()V
astore 1
start local 1 18: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
aload 1
invokevirtual javax.activation.DataHandler.writeTo:(Ljava/io/OutputStream;)V
19: goto 27
StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl com.sun.xml.internal.messaging.saaj.util.ByteOutputStream
StackMap stack: java.io.IOException
20: astore 2
start local 2 21: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
22: getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
23: ldc "SAAJ0501.soap.data.handler.err"
24: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
invokevirtual java.io.IOException.getLocalizedMessage:()Ljava/lang/String;
aastore
25: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
26: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
new java.lang.StringBuilder
dup
ldc "Data handler error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 2 27: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.size:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
11 17 1 ex Ljava/lang/Exception;
18 28 1 bout Lcom/sun/xml/internal/messaging/saaj/util/ByteOutputStream;
21 27 2 ex Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
8 9 10 Class java.lang.Exception
18 19 20 Class java.io.IOException
Exceptions:
throws javax.xml.soap.SOAPException
public void clearContent();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 3
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.close:()V
2: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
3: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
4: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
public java.lang.Object getContent();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 3
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.read:()Ljava/io/InputStream;
2: areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
ifnull 6
4: aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.getDataHandler:()Ljavax/activation/DataHandler;
invokevirtual javax.activation.DataHandler.getContent:()Ljava/lang/Object;
5: areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
ifnull 9
7: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.getContent:()Ljava/lang/Object;
8: areturn
9: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0572.soap.no.content.for.attachment"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
10: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
ldc "No data handler/content associated with this attachment"
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 12: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "SAAJ0575.soap.attachment.getcontent.exception"
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
13: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
aload 1
invokevirtual java.lang.Exception.getLocalizedMessage:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
12 14 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 2 11 Class java.lang.Exception
3 5 11 Class java.lang.Exception
6 8 11 Class java.lang.Exception
9 11 11 Class java.lang.Exception
Exceptions:
throws javax.xml.soap.SOAPException
public void setContent(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 3
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.close:()V
2: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
3: StackMap locals:
StackMap stack:
new javax.activation.DataHandler
dup
aload 1
aload 2
invokespecial javax.activation.DataHandler.<init>:(Ljava/lang/Object;Ljava/lang/String;)V
astore 3
start local 3 4: aload 0
aload 3
invokevirtual com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.setDataHandler:(Ljavax/activation/DataHandler;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 6 1 object Ljava/lang/Object;
0 6 2 contentType Ljava/lang/String;
4 6 3 dh Ljavax/activation/DataHandler;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
object
contentType
public javax.activation.DataHandler getDataHandler();
descriptor: ()Ljavax/activation/DataHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 2
1: new javax.activation.DataHandler
dup
new com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl$1
dup
aload 0
invokespecial com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl$1.<init>:(Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;)V
invokespecial javax.activation.DataHandler.<init>:(Ljavax/activation/DataSource;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
ifnonnull 7
3: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
ifnull 5
4: new javax.activation.DataHandler
dup
new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimePartDataSource
dup
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimePartDataSource.<init>:(Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;)V
invokespecial javax.activation.DataHandler.<init>:(Ljavax/activation/DataSource;)V
areturn
5: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0502.soap.no.handler.for.attachment"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
6: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
ldc "No data handler associated with this attachment"
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
Exceptions:
throws javax.xml.soap.SOAPException
public void setDataHandler(javax.activation.DataHandler);
descriptor: (Ljavax/activation/DataHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 3
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.close:()V
2: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
3: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
4: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0503.soap.no.null.to.dataHandler"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
5: new java.lang.IllegalArgumentException
dup
ldc "Null dataHandler argument to setDataHandler"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
7: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
8: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 12
9: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "SAAJ0580.soap.set.Content-Type"
10: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
invokevirtual javax.activation.DataHandler.getContentType:()Ljava/lang/String;
aastore
11: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
aload 0
ldc "Content-Type"
aload 1
invokevirtual javax.activation.DataHandler.getContentType:()Ljava/lang/String;
invokevirtual com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.setMimeHeader:(Ljava/lang/String;Ljava/lang/String;)V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 14 1 dataHandler Ljavax/activation/DataHandler;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
dataHandler
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
invokevirtual javax.xml.soap.MimeHeaders.removeAllHeaders:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
public void (java.lang.String);
descriptor: (Ljava/lang/String;)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.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
aload 1
invokevirtual javax.xml.soap.MimeHeaders.removeHeader:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 2 1 header Ljava/lang/String;
MethodParameters:
Name Flags
header
public java.lang.String[] (java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
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.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
aload 1
invokevirtual javax.xml.soap.MimeHeaders.getHeader:(Ljava/lang/String;)[Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
aload 1
aload 2
invokevirtual javax.xml.soap.MimeHeaders.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
aload 1
aload 2
invokevirtual javax.xml.soap.MimeHeaders.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public java.util.Iterator<javax.xml.soap.MimeHeader> getAllMimeHeaders();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
invokevirtual javax.xml.soap.MimeHeaders.getAllHeaders:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
Signature: ()Ljava/util/Iterator<Ljavax/xml/soap/MimeHeader;>;
public java.util.Iterator<javax.xml.soap.MimeHeader> getMatchingMimeHeaders(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/util/Iterator;
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.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
aload 1
invokevirtual javax.xml.soap.MimeHeaders.getMatchingHeaders:([Ljava/lang/String;)Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 1 1 names [Ljava/lang/String;
Signature: ([Ljava/lang/String;)Ljava/util/Iterator<Ljavax/xml/soap/MimeHeader;>;
MethodParameters:
Name Flags
names
public java.util.Iterator<javax.xml.soap.MimeHeader> getNonMatchingMimeHeaders(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/util/Iterator;
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.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
aload 1
invokevirtual javax.xml.soap.MimeHeaders.getNonMatchingHeaders:([Ljava/lang/String;)Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 1 1 names [Ljava/lang/String;
Signature: ([Ljava/lang/String;)Ljava/util/Iterator<Ljavax/xml/soap/MimeHeader;>;
MethodParameters:
Name Flags
names
boolean (javax.xml.soap.MimeHeaders);
descriptor: (Ljavax/xml/soap/MimeHeaders;)Z
flags: (0x0000)
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 17
1: aload 1
invokevirtual javax.xml.soap.MimeHeaders.getAllHeaders:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 16
3: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.soap.MimeHeader
astore 3
start local 3 4: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
aload 3
invokevirtual javax.xml.soap.MimeHeader.getName:()Ljava/lang/String;
invokevirtual javax.xml.soap.MimeHeaders.getHeader:(Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: aload 4
ifnull 14
7: iconst_0
istore 6
start local 6 8: goto 13
9: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl javax.xml.soap.MimeHeaders java.util.Iterator javax.xml.soap.MimeHeader java.lang.String[] int int
StackMap stack:
aload 3
invokevirtual javax.xml.soap.MimeHeader.getValue:()Ljava/lang/String;
aload 4
iload 6
aaload
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
10: iconst_1
istore 5
11: goto 14
12: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
aload 4
arraylength
if_icmplt 9
end local 6 14: StackMap locals:
StackMap stack:
iload 5
ifne 16
15: iconst_0
ireturn
end local 5 end local 4 end local 3 16: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 2 17: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 18 1 hdrs Ljavax/xml/soap/MimeHeaders;
2 17 2 i Ljava/util/Iterator;
4 16 3 hdr Ljavax/xml/soap/MimeHeader;
5 16 4 values [Ljava/lang/String;
6 16 5 found Z
8 14 6 j I
MethodParameters:
Name Flags
hdrs
com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart getMimePart();
descriptor: ()Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 3
1: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart
dup
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.<init>:(Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;)V
2: areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
ifnull 7
4: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
invokestatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.copyMimeHeaders:(Ljavax/xml/soap/MimeHeaders;Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;)V
5: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
6: areturn
7: StackMap locals:
StackMap stack:
new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart
dup
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.<init>:()V
astore 1
start local 1 8: aload 1
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.setDataHandler:(Ljavax/activation/DataHandler;)V
9: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
aload 1
invokestatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.copyMimeHeaders:(Ljavax/xml/soap/MimeHeaders;Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;)V
10: aload 1
11: areturn
end local 1 12: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 13: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0504.soap.cannot.externalize.attachment"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
14: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
ldc "Unable to externalize attachment"
aload 1
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
8 12 1 envelope Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
13 15 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 2 12 Class java.lang.Exception
3 6 12 Class java.lang.Exception
7 11 12 Class java.lang.Exception
Exceptions:
throws javax.xml.soap.SOAPException
public static void copyMimeHeaders(javax.xml.soap.MimeHeaders, com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart);
descriptor: (Ljavax/xml/soap/MimeHeaders;Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.xml.soap.MimeHeaders.getAllHeaders:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 8
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.soap.MimeHeader
astore 3
start local 3 3: aload 1
aload 3
invokevirtual javax.xml.soap.MimeHeader.getName:()Ljava/lang/String;
aload 3
invokevirtual javax.xml.soap.MimeHeader.getValue:()Ljava/lang/String;
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
end local 3 4: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 3
start local 3 6: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0505.soap.cannot.copy.mime.hdr"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
7: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
ldc "Unable to copy MIME header"
aload 3
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 headers Ljavax/xml/soap/MimeHeaders;
0 10 1 mbp Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
1 10 2 i Ljava/util/Iterator;
3 4 3 mh Ljavax/xml/soap/MimeHeader;
6 8 3 ex Ljava/lang/Exception;
Exception table:
from to target type
2 4 5 Class java.lang.Exception
Exceptions:
throws javax.xml.soap.SOAPException
MethodParameters:
Name Flags
headers
mbp
public static void copyMimeHeaders(com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart, com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl);
descriptor: (Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.getAllHeaders:()Lcom/sun/xml/internal/messaging/saaj/util/FinalArrayList;
astore 2
start local 2 1: aload 2
invokeinterface java.util.List.size:()I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 9
4: StackMap locals: java.util.List int int
StackMap stack:
aload 2
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.xml.internal.messaging.saaj.packaging.mime.Header
astore 5
start local 5 5: aload 5
invokeinterface com.sun.xml.internal.messaging.saaj.packaging.mime.Header.getName:()Ljava/lang/String;
ldc "Content-Type"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 7
6: goto 8
7: StackMap locals: com.sun.xml.internal.messaging.saaj.packaging.mime.Header
StackMap stack:
aload 1
aload 5
invokeinterface com.sun.xml.internal.messaging.saaj.packaging.mime.Header.getName:()Ljava/lang/String;
aload 5
invokeinterface com.sun.xml.internal.messaging.saaj.packaging.mime.Header.getValue:()Ljava/lang/String;
invokevirtual com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.addMimeHeader:(Ljava/lang/String;Ljava/lang/String;)V
end local 5 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 3
if_icmplt 4
end local 4 end local 3 end local 2 10: goto 17
StackMap locals: com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl
StackMap stack: java.lang.Exception
11: astore 2
start local 2 12: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0506.soap.cannot.copy.mime.hdrs.into.attachment"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
13: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
14: ldc "Unable to copy MIME headers into attachment"
15: aload 2
16: invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 mbp Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
0 18 1 ap Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
1 10 2 hdr Ljava/util/List;
2 10 3 sz I
3 10 4 i I
5 8 5 h Lcom/sun/xml/internal/messaging/saaj/packaging/mime/Header;
12 17 2 ex Ljava/lang/Exception;
Exception table:
from to target type
0 10 11 Class java.lang.Exception
Exceptions:
throws javax.xml.soap.SOAPException
MethodParameters:
Name Flags
mbp
ap
public void setBase64Content(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 3
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.close:()V
2: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
3: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
4: aconst_null
astore 3
start local 3 5: aconst_null
astore 4
start local 4 6: aload 1
ldc "base64"
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.decode:(Ljava/io/InputStream;Ljava/lang/String;)Ljava/io/InputStream;
astore 3
7: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.InternetHeaders
dup
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.InternetHeaders.<init>:()V
astore 5
start local 5 8: aload 5
ldc "Content-Type"
aload 2
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.InternetHeaders.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
9: new com.sun.xml.internal.messaging.saaj.util.ByteOutputStream
dup
invokespecial com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.<init>:()V
astore 4
10: aload 4
aload 3
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.write:(Ljava/io/InputStream;)V
11: aload 0
new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart
dup
aload 5
aload 4
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.getBytes:()[B
aload 4
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.getCount:()I
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.<init>:(Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/InternetHeaders;[BI)V
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
12: aload 0
ldc "Content-Type"
aload 2
invokevirtual com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.setMimeHeader:(Ljava/lang/String;Ljava/lang/String;)V
end local 5 13: goto 26
StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream java.lang.String java.io.InputStream com.sun.xml.internal.messaging.saaj.util.ByteOutputStream
StackMap stack: java.lang.Exception
14: astore 5
start local 5 15: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "SAAJ0578.soap.attachment.setbase64content.exception"
aload 5
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
16: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
aload 5
invokevirtual java.lang.Exception.getLocalizedMessage:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 5 17: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
18: aload 4
ifnull 20
19: aload 4
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.close:()V
20: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream java.lang.String java.io.InputStream com.sun.xml.internal.messaging.saaj.util.ByteOutputStream top java.lang.Throwable
StackMap stack:
aload 3
ifnull 25
21: aload 3
invokevirtual java.io.InputStream.close:()V
22: goto 25
StackMap locals:
StackMap stack: java.io.IOException
23: astore 7
start local 7 24: new javax.xml.soap.SOAPException
dup
aload 7
invokespecial javax.xml.soap.SOAPException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 25: StackMap locals:
StackMap stack:
aload 6
athrow
26: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream java.lang.String java.io.InputStream com.sun.xml.internal.messaging.saaj.util.ByteOutputStream
StackMap stack:
aload 4
ifnull 28
27: aload 4
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.close:()V
28: StackMap locals:
StackMap stack:
aload 3
ifnull 33
29: aload 3
invokevirtual java.io.InputStream.close:()V
30: goto 33
StackMap locals:
StackMap stack: java.io.IOException
31: astore 7
start local 7 32: new javax.xml.soap.SOAPException
dup
aload 7
invokespecial javax.xml.soap.SOAPException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 33: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 34 1 content Ljava/io/InputStream;
0 34 2 contentType Ljava/lang/String;
5 34 3 decoded Ljava/io/InputStream;
6 34 4 bos Lcom/sun/xml/internal/messaging/saaj/util/ByteOutputStream;
8 13 5 hdrs Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/InternetHeaders;
15 17 5 e Ljava/lang/Exception;
24 25 7 ex Ljava/io/IOException;
32 33 7 ex Ljava/io/IOException;
Exception table:
from to target type
6 13 14 Class java.lang.Exception
6 17 17 any
20 22 23 Class java.io.IOException
28 30 31 Class java.io.IOException
Exceptions:
throws javax.xml.soap.SOAPException
MethodParameters:
Name Flags
content
contentType
public java.io.InputStream getBase64Content();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 3
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.read:()Ljava/io/InputStream;
astore 1
start local 1 2: goto 17
end local 1 StackMap locals:
StackMap stack:
3: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
ifnull 9
4: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.getInputStream:()Ljava/io/InputStream;
astore 1
start local 1 5: goto 17
end local 1 StackMap locals:
StackMap stack: java.lang.Exception
6: astore 2
start local 2 7: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "SAAJ0579.soap.attachment.getbase64content.exception"
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
8: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
aload 2
invokevirtual java.lang.Exception.getLocalizedMessage:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
ifnull 15
10: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
invokevirtual javax.activation.DataHandler.getInputStream:()Ljava/io/InputStream;
astore 1
start local 1 11: goto 17
end local 1 StackMap locals:
StackMap stack: java.io.IOException
12: astore 2
start local 2 13: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0574.soap.attachment.datahandler.ioexception"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
14: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
new java.lang.StringBuilder
dup
ldc "DataHandler error"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 2 15: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0572.soap.no.content.for.attachment"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
16: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
ldc "No data handler/content associated with this attachment"
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
start local 1 17: StackMap locals: java.io.InputStream
StackMap stack:
sipush 1024
istore 3
start local 3 18: aload 1
ifnull 41
19: new java.io.ByteArrayOutputStream
dup
iload 3
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 5
start local 5 20: aload 5
ldc "base64"
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.encode:(Ljava/io/OutputStream;Ljava/lang/String;)Ljava/io/OutputStream;
astore 6
start local 6 21: iload 3
newarray 8
astore 4
start local 4 22: goto 24
start local 2 23: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream int int byte[] java.io.ByteArrayOutputStream java.io.OutputStream
StackMap stack:
aload 6
aload 4
iconst_0
iload 2
invokevirtual java.io.OutputStream.write:([BII)V
end local 2 24: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream top int byte[] java.io.ByteArrayOutputStream java.io.OutputStream
StackMap stack:
aload 1
aload 4
iconst_0
iload 3
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 2
start local 2 25: iconst_m1
if_icmpne 23
26: aload 6
invokevirtual java.io.OutputStream.flush:()V
27: aload 5
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 4
28: new java.io.ByteArrayInputStream
dup
aload 4
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 8
29: aload 1
invokevirtual java.io.InputStream.close:()V
30: goto 32
StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream int int byte[] java.io.ByteArrayOutputStream java.io.OutputStream top java.io.InputStream
StackMap stack: java.io.IOException
31: pop
32: StackMap locals:
StackMap stack:
aload 8
areturn
end local 6 end local 5 end local 4 end local 2 33: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream top int
StackMap stack: java.lang.Exception
astore 5
start local 5 34: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "SAAJ0579.soap.attachment.getbase64content.exception"
aload 5
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
35: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
aload 5
invokevirtual java.lang.Exception.getLocalizedMessage:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 5 36: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
37: aload 1
invokevirtual java.io.InputStream.close:()V
38: goto 40
StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream top int top top top java.lang.Throwable
StackMap stack: java.io.IOException
39: pop
40: StackMap locals:
StackMap stack:
aload 7
athrow
41: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream top int
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "SAAJ0572.soap.no.content.for.attachment"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
42: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
ldc "No data handler/content associated with this attachment"
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
2 3 1 stream Ljava/io/InputStream;
5 6 1 stream Ljava/io/InputStream;
11 12 1 stream Ljava/io/InputStream;
17 43 1 stream Ljava/io/InputStream;
7 9 2 e Ljava/lang/Exception;
13 15 2 e Ljava/io/IOException;
23 24 2 len I
25 33 2 len I
18 43 3 size I
22 33 4 buf [B
20 33 5 bos Ljava/io/ByteArrayOutputStream;
21 33 6 ret Ljava/io/OutputStream;
34 36 5 e Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
10 11 12 Class java.io.IOException
29 30 31 Class java.io.IOException
19 29 33 Class java.lang.Exception
19 29 36 any
33 36 36 any
37 38 39 Class java.io.IOException
Exceptions:
throws javax.xml.soap.SOAPException
public void setRawContent(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 3
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.close:()V
2: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
3: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
4: aconst_null
astore 3
start local 3 5: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.InternetHeaders
dup
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.InternetHeaders.<init>:()V
astore 4
start local 4 6: aload 4
ldc "Content-Type"
aload 2
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.InternetHeaders.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
7: new com.sun.xml.internal.messaging.saaj.util.ByteOutputStream
dup
invokespecial com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.<init>:()V
astore 3
8: aload 3
aload 1
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.write:(Ljava/io/InputStream;)V
9: aload 0
new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart
dup
aload 4
aload 3
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.getBytes:()[B
aload 3
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.getCount:()I
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.<init>:(Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/InternetHeaders;[BI)V
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
10: aload 0
ldc "Content-Type"
aload 2
invokevirtual com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.setMimeHeader:(Ljava/lang/String;Ljava/lang/String;)V
end local 4 11: goto 23
StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream java.lang.String com.sun.xml.internal.messaging.saaj.util.ByteOutputStream
StackMap stack: java.lang.Exception
12: astore 4
start local 4 13: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "SAAJ0576.soap.attachment.setrawcontent.exception"
aload 4
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
14: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
aload 4
invokevirtual java.lang.Exception.getLocalizedMessage:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 4 15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
16: aload 3
ifnull 18
17: aload 3
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.close:()V
18: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream java.lang.String com.sun.xml.internal.messaging.saaj.util.ByteOutputStream top java.lang.Throwable
StackMap stack:
aload 1
invokevirtual java.io.InputStream.close:()V
19: goto 22
StackMap locals:
StackMap stack: java.io.IOException
20: astore 6
start local 6 21: new javax.xml.soap.SOAPException
dup
aload 6
invokespecial javax.xml.soap.SOAPException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 22: StackMap locals:
StackMap stack:
aload 5
athrow
23: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl java.io.InputStream java.lang.String com.sun.xml.internal.messaging.saaj.util.ByteOutputStream
StackMap stack:
aload 3
ifnull 25
24: aload 3
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.close:()V
25: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.InputStream.close:()V
26: goto 29
StackMap locals:
StackMap stack: java.io.IOException
27: astore 6
start local 6 28: new javax.xml.soap.SOAPException
dup
aload 6
invokespecial javax.xml.soap.SOAPException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 29: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 30 1 content Ljava/io/InputStream;
0 30 2 contentType Ljava/lang/String;
5 30 3 bos Lcom/sun/xml/internal/messaging/saaj/util/ByteOutputStream;
6 11 4 hdrs Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/InternetHeaders;
13 15 4 e Ljava/lang/Exception;
21 22 6 ex Ljava/io/IOException;
28 29 6 ex Ljava/io/IOException;
Exception table:
from to target type
5 11 12 Class java.lang.Exception
5 15 15 any
18 19 20 Class java.io.IOException
25 26 27 Class java.io.IOException
Exceptions:
throws javax.xml.soap.SOAPException
MethodParameters:
Name Flags
content
contentType
public void setRawContentBytes(byte[], int, int, java.lang.String);
descriptor: ([BIILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 3
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.close:()V
2: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
3: StackMap locals:
StackMap stack:
aload 1
ifnonnull 5
4: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
ldc "Null content passed to setRawContentBytes"
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
6: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.InternetHeaders
dup
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.InternetHeaders.<init>:()V
astore 5
start local 5 7: aload 5
ldc "Content-Type"
aload 4
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.InternetHeaders.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart
dup
aload 5
aload 1
iload 2
iload 3
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.<init>:(Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/InternetHeaders;[BII)V
putfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
9: aload 0
ldc "Content-Type"
aload 4
invokevirtual com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.setMimeHeader:(Ljava/lang/String;Ljava/lang/String;)V
end local 5 10: goto 16
StackMap locals:
StackMap stack: java.lang.Exception
11: astore 5
start local 5 12: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
13: ldc "SAAJ0576.soap.attachment.setrawcontent.exception"
aload 5
14: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
15: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
aload 5
invokevirtual java.lang.Exception.getLocalizedMessage:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 5 16: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 17 1 content [B
0 17 2 off I
0 17 3 len I
0 17 4 contentType Ljava/lang/String;
7 10 5 hdrs Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/InternetHeaders;
12 16 5 e Ljava/lang/Exception;
Exception table:
from to target type
6 10 11 Class java.lang.Exception
Exceptions:
throws javax.xml.soap.SOAPException
MethodParameters:
Name Flags
content
off
len
contentType
public java.io.InputStream getRawContent();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 2
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.read:()Ljava/io/InputStream;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
ifnull 8
3: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.getInputStream:()Ljava/io/InputStream;
4: areturn
5: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 6: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "SAAJ0577.soap.attachment.getrawcontent.exception"
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
7: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
aload 1
invokevirtual java.lang.Exception.getLocalizedMessage:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
ifnull 14
9: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
invokevirtual javax.activation.DataHandler.getInputStream:()Ljava/io/InputStream;
10: areturn
11: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 12: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0574.soap.attachment.datahandler.ioexception"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
13: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
new java.lang.StringBuilder
dup
ldc "DataHandler error"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 1 14: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0572.soap.no.content.for.attachment"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
15: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
ldc "No data handler/content associated with this attachment"
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
6 8 1 e Ljava/lang/Exception;
12 14 1 e Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
9 10 11 Class java.io.IOException
Exceptions:
throws javax.xml.soap.SOAPException
public byte[] getRawContentBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
ifnull 7
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.mimePart:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.read:()Ljava/io/InputStream;
astore 1
start local 1 2: aload 1
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.util.ASCIIUtility.getBytes:(Ljava/io/InputStream;)[B
3: areturn
end local 1 4: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 5: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "SAAJ0577.soap.attachment.getrawcontent.exception"
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
6: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
aload 2
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
ifnull 14
8: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.rawContent:Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart;
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeBodyPart.getInputStream:()Ljava/io/InputStream;
astore 1
start local 1 9: aload 1
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.util.ASCIIUtility.getBytes:(Ljava/io/InputStream;)[B
10: areturn
end local 1 11: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 12: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "SAAJ0577.soap.attachment.getrawcontent.exception"
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
13: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
aload 2
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
ifnull 21
15: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.dataHandler:Ljavax/activation/DataHandler;
invokevirtual javax.activation.DataHandler.getInputStream:()Ljava/io/InputStream;
astore 1
start local 1 16: aload 1
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.util.ASCIIUtility.getBytes:(Ljava/io/InputStream;)[B
17: areturn
end local 1 18: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 19: getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0574.soap.attachment.datahandler.ioexception"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
20: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
new java.lang.StringBuilder
dup
ldc "DataHandler error"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 2 21: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.log:Ljava/util/logging/Logger;
ldc "SAAJ0572.soap.no.content.for.attachment"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
22: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
ldc "No data handler/content associated with this attachment"
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
2 4 1 ret Ljava/io/InputStream;
9 11 1 ret Ljava/io/InputStream;
16 18 1 ret Ljava/io/InputStream;
5 7 2 ex Ljava/io/IOException;
12 14 2 e Ljava/lang/Exception;
19 21 2 e Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
8 10 11 Class java.lang.Exception
15 17 18 Class java.io.IOException
Exceptions:
throws javax.xml.soap.SOAPException
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
0 2 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
public javax.xml.soap.MimeHeaders ();
descriptor: ()Ljavax/xml/soap/MimeHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.headers:Ljavax/xml/soap/MimeHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl;
public static void initializeJavaActivationHandlers();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: invokestatic javax.activation.CommandMap.getDefaultCommandMap:()Ljavax/activation/CommandMap;
astore 0
start local 0 1: aload 0
instanceof javax.activation.MailcapCommandMap
ifeq 11
2: aload 0
checkcast javax.activation.MailcapCommandMap
astore 1
start local 1 3: aload 1
invokestatic com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.cmdMapInitialized:(Ljavax/activation/MailcapCommandMap;)Z
ifne 11
4: aload 1
ldc "text/xml;;x-java-content-handler=com.sun.xml.internal.messaging.saaj.soap.XmlDataContentHandler"
invokevirtual javax.activation.MailcapCommandMap.addMailcap:(Ljava/lang/String;)V
5: aload 1
ldc "application/xml;;x-java-content-handler=com.sun.xml.internal.messaging.saaj.soap.XmlDataContentHandler"
invokevirtual javax.activation.MailcapCommandMap.addMailcap:(Ljava/lang/String;)V
6: aload 1
ldc "application/fastinfoset;;x-java-content-handler=com.sun.xml.internal.messaging.saaj.soap.FastInfosetDataContentHandler"
invokevirtual javax.activation.MailcapCommandMap.addMailcap:(Ljava/lang/String;)V
7: aload 1
ldc "image/*;;x-java-content-handler=com.sun.xml.internal.messaging.saaj.soap.ImageDataContentHandler"
invokevirtual javax.activation.MailcapCommandMap.addMailcap:(Ljava/lang/String;)V
8: aload 1
ldc "text/plain;;x-java-content-handler=com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler"
invokevirtual javax.activation.MailcapCommandMap.addMailcap:(Ljava/lang/String;)V
end local 1 end local 0 9: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
10: pop
11: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 9 0 map Ljavax/activation/CommandMap;
3 9 1 mailMap Ljavax/activation/MailcapCommandMap;
Exception table:
from to target type
0 9 10 Class java.lang.Throwable
private static boolean cmdMapInitialized(javax.activation.MailcapCommandMap);
descriptor: (Ljavax/activation/MailcapCommandMap;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=8, args_size=1
start local 0 0: aload 0
ldc "application/fastinfoset"
invokevirtual javax.activation.MailcapCommandMap.getAllCommands:(Ljava/lang/String;)[Ljavax/activation/CommandInfo;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
arraylength
ifne 3
2: StackMap locals: javax.activation.CommandInfo[]
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
ldc "com.sun.xml.internal.ws.binding.FastInfosetDataContentHandler"
astore 2
start local 2 4: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: javax.activation.MailcapCommandMap javax.activation.CommandInfo[] java.lang.String top int int javax.activation.CommandInfo[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 3
invokevirtual javax.activation.CommandInfo.getCommandClass:()Ljava/lang/String;
astore 7
start local 7 7: aload 2
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: iconst_1
ireturn
end local 7 end local 3 9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 5
11: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 mailMap Ljavax/activation/MailcapCommandMap;
1 12 1 commands [Ljavax/activation/CommandInfo;
4 12 2 saajClassName Ljava/lang/String;
6 9 3 command Ljavax/activation/CommandInfo;
7 9 7 commandClass Ljava/lang/String;
MethodParameters:
Name Flags
mailMap
}
SourceFile: "AttachmentPartImpl.java"
NestMembers:
com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl$1
InnerClasses:
com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl$1