Edit C:\apache-tomcat-7.0.69\webapps\sword\WEB-INF\classes\org\purl\sword\server\DummyServer.class
???? 3S ?5 67 689 :; :<=> ? 6@ABCDE FG 5HI J K ?LM 5N O 6P Q RS :T :UVW :XY $5Z $[\ (5] :^ :_ ([` (ab (cde (fgh (ij (kl (m $n opqrst (uvwxyz{?L?? (|}~??=??m????? (?? {7 {8 {@ {P???? _? {??? _? {?? {??? j? i? i?? ?Q i??? R???? t? {? ???? z?? }5? 5? ? ? }?? }?? }???? ??? ?? ??? ?5 ?? }?? ?5 _Q ?? }?? ?5 ??? }?? ?5? ??? ?? }???? ?5 ??? ?? }?? ?5? ??? ?? ?? }?? ?5 ??? ???? ?? }?? }k {?? }? }? z?? za ?7 ?8?? ??? R???? counter I log Lorg/apache/log4j/Logger; <init> ()V Code LineNumberTable LocalVariableTable this #Lorg/purl/sword/server/DummyServer; doServiceDocument S(Lorg/purl/sword/base/ServiceDocumentRequest;)Lorg/purl/sword/base/ServiceDocument; workspace Lorg/purl/sword/base/Workspace; collection Lorg/purl/sword/base/Collection; sdr ,Lorg/purl/sword/base/ServiceDocumentRequest; username Ljava/lang/String; password document %Lorg/purl/sword/base/ServiceDocument; service Lorg/purl/sword/base/Service; location onBehalfOf StackMapTable?GHY\ Exceptions doDeposit D(Lorg/purl/sword/base/Deposit;)Lorg/purl/sword/base/DepositResponse; depositFile Ljava/io/File; ze Ljava/util/zip/ZipEntry; e Ljava/io/IOException; ioe c !Lorg/purl/sword/atom/Contributor; ex /Lorg/purl/sword/atom/InvalidMediaTypeException; deposit Lorg/purl/sword/base/Deposit; filenames Ljava/lang/StringBuffer; zip Ljava/util/zip/ZipInputStream; dr %Lorg/purl/sword/base/DepositResponse; se Lorg/purl/sword/base/SWORDEntry; t Lorg/purl/sword/atom/Title; sdf Ljava/text/SimpleDateFormat; utc Ljava/util/TimeZone; milliFormat s Lorg/purl/sword/atom/Summary; a Lorg/purl/sword/atom/Author; em Lorg/purl/sword/atom/Link; generator Lorg/purl/sword/atom/Generator; content Lorg/purl/sword/atom/Content;?????????????????? doAtomDocument U(Lorg/purl/sword/base/AtomDocumentRequest;)Lorg/purl/sword/base/AtomDocumentResponse; adr )Lorg/purl/sword/base/AtomDocumentRequest; <clinit> SourceFile DummyServer.java ? ?????? ????? 0org/purl/sword/base/SWORDAuthenticationException Bad credentials ???? error 'org/purl/sword/base/SWORDErrorException org/purl/sword/base/ErrorCodes 3http://purl.org/net/sword/error/MediationNotAllowed Mediated deposits not allowed ?? #org/purl/sword/base/ServiceDocument org/purl/sword/base/Service 1.3 ???? ? ? java/lang/StringBuilder sdr.getLocation() is: ???? ? location is: ?nested= org/purl/sword/base/Workspace !Nested service document workspace ? org/purl/sword/base/Collection Nested collection: /deposit/nested? -http://purl.org/net/sword-types/METSDSpaceSIP? %http://purl.org/net/sword-types/bagit application/zip? application/xml /A nested collection that users can deposit into? This is a dummy server? RNo guarantee of service, or that deposits will be retained for any length of time.? Anonymous submitters workspace Anonymous submitters collection /deposit/anon 2A collection that anonymous users can deposit into #/client/servicedocument?nested=anon?? %Anonymous submitters other collection /deposit/anonymous 8Another collection that anonymous users can deposit into Authenticated workspace for Authenticated collection for /deposit/ A collection that can deposit into ,/client/servicedocument?nested=authenticated $Second authenticated collection for -2 Personal workspace for Personal collection for /deposit?user= An abstract goes in here A collection policy treatment in here too deposit?user= /Mediated deposit not allowed to this collection java/lang/StringBuffer Deposit file contained: ? (filename = ) ?? (slug = java/util/zip/ZipInputStream java/io/FileInputStream ? ?!"# $% ? java/io/IOException Unable to close zip streamA& "org/purl/sword/base/SWORDException !Failed to open deposited zip file ,http://purl.org/net/sword/error/ErrorContent ?'() ? ? #org/purl/sword/base/DepositResponse org/purl/sword/base/Deposit ?* org/purl/sword/base/SWORDEntry org/purl/sword/atom/Title DummyServer Deposit: #?+,? - Category.? - ID: /? ID: java/text/SimpleDateFormat yyyy-MM-dd'T'HH:mm:ss'Z' UTC?0123 java/util/Date456? org/purl/sword/atom/Summary78 org/purl/sword/atom/Author9? unknown:; org/purl/sword/atom/Link edit-media<? 5http://www.myrepository.ac.uk/sdl/workflow/my deposit=?>? edit :http://www.myrepository.ac.uk/sdl/workflow/my deposit.atom org/purl/sword/atom/Contributor @myrepository.ac.uk@?AB org/purl/sword/atom/Generator Stuart's Dummy SWORD Server &http://dummy-sword-server.example.com/C?D?EF org/purl/sword/atom/ContentG? -org/purl/sword/atom/InvalidMediaTypeExceptionH ? 1http://www.myrepository.ac.uk/sdl/uploads/upload- .zipI?,J Short back and sidesK) -I've done a lot of hard work to get this far!L?MNO #http://www.myrepository.ac.uk/atom/P (org/purl/sword/base/AtomDocumentResponse &javax/servlet/http/HttpServletResponse ,org/purl/sword/server/ServiceDocumentServletQR !org/purl/sword/server/DummyServer java/lang/Object !org/purl/sword/server/SWORDServer java/lang/String java/io/File java/lang/Throwable java/util/TimeZone *org/purl/sword/base/ServiceDocumentRequest getUsername ()Ljava/lang/String; getPassword equals (Ljava/lang/Object;)Z equalsIgnoreCase (Ljava/lang/String;)Z (Ljava/lang/String;)V getOnBehalfOf '(Ljava/lang/String;Ljava/lang/String;)V (Ljava/lang/String;ZZ)V setService (Lorg/purl/sword/base/Service;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getLocation toString org/apache/log4j/Logger debug (Ljava/lang/Object;)V length ()I substring (II)Ljava/lang/String; contains (Ljava/lang/CharSequence;)Z setTitle indexOf (I)I (I)Ljava/lang/String; setLocation addAcceptPackaging addAccepts setAbstract setTreatment setCollectionPolicy addCollection #(Lorg/purl/sword/base/Collection;)V addWorkspace "(Lorg/purl/sword/base/Workspace;)V (Ljava/lang/String;F)V setMediation (Z)V getFilename ,(Ljava/lang/String;)Ljava/lang/StringBuffer; getSlug getFile ()Ljava/io/File; (Ljava/io/File;)V (Ljava/io/InputStream;)V getNextEntry ()Ljava/util/zip/ZipEntry; java/util/zip/ZipEntry close *(Ljava/lang/Object;Ljava/lang/Throwable;)V <(Ljava/lang/String;Ljava/lang/Exception;Ljava/lang/String;)V isNoOp ()Z (I)V (I)Ljava/lang/StringBuilder; setContent (Lorg/purl/sword/atom/Title;)V addCategory setId getTimeZone ((Ljava/lang/String;)Ljava/util/TimeZone; setTimeZone (Ljava/util/TimeZone;)V format $(Ljava/util/Date;)Ljava/lang/String; setUpdated setSummary (Lorg/purl/sword/atom/Summary;)V setName addAuthors (Lorg/purl/sword/atom/Author;)V setRel setHref addLink (Lorg/purl/sword/atom/Link;)V setEmail addContributor $(Lorg/purl/sword/atom/Contributor;)V setUri setVersion setGenerator "(Lorg/purl/sword/atom/Generator;)V setType printStackTrace setSource (Lorg/purl/sword/atom/Content;)V isVerbose setVerboseDescription setNoOp setEntry #(Lorg/purl/sword/base/SWORDEntry;)V 'org/purl/sword/base/AtomDocumentRequest getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! ? ? ? ? ? ? ? ? ? ? / *? ? ? 9 ? ? ? ? ? ? ? ?+? M+? N,? +-? ',? ? -? ? ,-? ? ? Y? ?+? ? +? ? ? ? Y? ?? Y? :? Y? :? ? ? Y? ? +? ? ? ? +? +? ? d? :? ? Y? !? ? ? ? +? "? #? ?? $Y? %:&? '? (Y? ):? Y? *? +? +? ?? +`? ,? ? ? -? Y? ? .? ? ? /0? 12? 13? 45? 46? 78? 9:? ;? <? =?^? $Y? %:>? '? (Y? ):?? -? Y? ? @? ? ? /0? 12? 13? 45? 4A? 78? 9:? ;? Y? ? B? ? ? C? <? (Y? ):D? -? Y? ? E? ? ? /0? 12? 13? 45? 4F? 78? 9:? ;? <? =+? ?^? $Y? %:? Y? G? ,? ? ? '? (Y? ):? Y? H? ,? ? ? -? Y? ? I? ,? ? ? /3? 45? 40? 12J? K? Y? L? ,? M? ? ? 78? 9:? ;? Y? ? N? ? ? C? <? (Y? ):? Y? O? ,? ? ? -? Y? ? I? ,? P? ? ? /3? 45? 42Q? K0? 1? Y? L? ,? M? ? ? 78? 9:? ;? <? =+? :? ?? ? ?? $Y? %:? Y? R? ? ? ? '? (Y? ): ? Y? S? ? ? ? - ? Y? ? T? ? ? ? / 3? 4 5? 4 0? 1 2J? K U? 7 V? ; ? W X? 9 ? <? =? ? ? e O P Q R &