final class com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl extends javax.xml.bind.attachment.AttachmentMarshaller
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl
super_class: javax.xml.bind.attachment.AttachmentMarshaller
{
private static final com.sun.istack.internal.logging.Logger LOGGER;
descriptor: Lcom/sun/istack/internal/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private com.sun.xml.internal.ws.api.message.AttachmentSet attachments;
descriptor: Lcom/sun/xml/internal/ws/api/message/AttachmentSet;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/xml/internal/ws/message/jaxb/AttachmentMarshallerImpl;
invokestatic com.sun.istack.internal.logging.Logger.getLogger:(Ljava/lang/Class;)Lcom/sun/istack/internal/logging/Logger;
putstatic com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl.LOGGER:Lcom/sun/istack/internal/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.sun.xml.internal.ws.api.message.AttachmentSet);
descriptor: (Lcom/sun/xml/internal/ws/api/message/AttachmentSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.xml.bind.attachment.AttachmentMarshaller.<init>:()V
1: aload 0
aload 1
putfield com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl.attachments:Lcom/sun/xml/internal/ws/api/message/AttachmentSet;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/ws/message/jaxb/AttachmentMarshallerImpl;
0 3 1 attachemnts Lcom/sun/xml/internal/ws/api/message/AttachmentSet;
MethodParameters:
Name Flags
attachemnts
void cleanup();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl.attachments:Lcom/sun/xml/internal/ws/api/message/AttachmentSet;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/ws/message/jaxb/AttachmentMarshallerImpl;
public java.lang.String addMtomAttachment(javax.activation.DataHandler, java.lang.String, java.lang.String);
descriptor: (Ljavax/activation/DataHandler;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/message/jaxb/AttachmentMarshallerImpl;
0 1 1 data Ljavax/activation/DataHandler;
0 1 2 elementNamespace Ljava/lang/String;
0 1 3 elementLocalName Ljava/lang/String;
MethodParameters:
Name Flags
data
elementNamespace
elementLocalName
public java.lang.String addMtomAttachment(byte[], int, int, java.lang.String, java.lang.String, java.lang.String);
descriptor: ([BIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
end local 6 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 1 0 this Lcom/sun/xml/internal/ws/message/jaxb/AttachmentMarshallerImpl;
0 1 1 data [B
0 1 2 offset I
0 1 3 length I
0 1 4 mimeType Ljava/lang/String;
0 1 5 elementNamespace Ljava/lang/String;
0 1 6 elementLocalName Ljava/lang/String;
MethodParameters:
Name Flags
data
offset
length
mimeType
elementNamespace
elementLocalName
public java.lang.String addSwaRefAttachment(javax.activation.DataHandler);
descriptor: (Ljavax/activation/DataHandler;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
invokevirtual com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl.encodeCid:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: new com.sun.xml.internal.ws.message.DataHandlerAttachment
dup
aload 2
aload 1
invokespecial com.sun.xml.internal.ws.message.DataHandlerAttachment.<init>:(Ljava/lang/String;Ljavax/activation/DataHandler;)V
astore 3
start local 3 2: aload 0
getfield com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl.attachments:Lcom/sun/xml/internal/ws/api/message/AttachmentSet;
aload 3
invokeinterface com.sun.xml.internal.ws.api.message.AttachmentSet.add:(Lcom/sun/xml/internal/ws/api/message/Attachment;)V
3: new java.lang.StringBuilder
dup
ldc "cid:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
4: aload 2
areturn
end local 3 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/jaxb/AttachmentMarshallerImpl;
0 5 1 data Ljavax/activation/DataHandler;
1 5 2 cid Ljava/lang/String;
2 5 3 att Lcom/sun/xml/internal/ws/api/message/Attachment;
MethodParameters:
Name Flags
data
private java.lang.String encodeCid(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: ldc "example.jaxws.sun.com"
astore 2
start local 2 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
invokestatic java.util.UUID.randomUUID:()Ljava/util/UUID;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "@"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 2: aload 1
ifnull 15
aload 1
invokevirtual java.lang.String.length:()I
ifle 15
3: new java.net.URI
dup
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 4
start local 4 4: aload 4
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 2
end local 4 5: goto 15
StackMap locals: com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl java.lang.String java.lang.String java.lang.String
StackMap stack: java.net.URISyntaxException
6: astore 4
start local 4 7: getstatic com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl.LOGGER:Lcom/sun/istack/internal/logging/Logger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
invokevirtual com.sun.istack.internal.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 9
8: getstatic com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl.LOGGER:Lcom/sun/istack/internal/logging/Logger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
aconst_null
aload 4
invokevirtual com.sun.istack.internal.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
9: StackMap locals: java.net.URISyntaxException
StackMap stack:
aconst_null
areturn
end local 4 10: StackMap locals: com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl java.lang.String java.lang.String java.lang.String
StackMap stack: java.net.MalformedURLException
astore 4
start local 4 11: aload 1
ldc "UTF-8"
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
12: goto 15
StackMap locals: com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl java.lang.String java.lang.String java.lang.String java.net.MalformedURLException
StackMap stack: java.io.UnsupportedEncodingException
13: pop
14: new javax.xml.ws.WebServiceException
dup
aload 4
invokespecial javax.xml.ws.WebServiceException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 15: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/xml/internal/ws/message/jaxb/AttachmentMarshallerImpl;
0 16 1 ns Ljava/lang/String;
1 16 2 cid Ljava/lang/String;
2 16 3 name Ljava/lang/String;
4 5 4 uri Ljava/net/URI;
7 10 4 e Ljava/net/URISyntaxException;
11 15 4 e Ljava/net/MalformedURLException;
Exception table:
from to target type
3 5 6 Class java.net.URISyntaxException
3 5 10 Class java.net.MalformedURLException
11 12 13 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
ns
}
SourceFile: "AttachmentMarshallerImpl.java"