Edit C:\apache-tomcat-7.0.69\webapps\sword\WEB-INF\classes\org\purl\sword\client\Client.class
???? 32 ?)* ) + ,-. /01234156 78 )9 : ; < =>? @ A B C D E FGHIJK LM $NO &PQR S N1TQU V WX /YZ[ /\] /^_ /`ab 1cd ef 8gh /i ?Y jk C) lm ?nop Cqrs tuvwxywz P{ | P}~u?? ??? Z) Z? ?? 8Y ??? ac? cc?? ?? fY ?? ?? ?? ????? fn ?? ???? ??? ???? ?? ??? ?? ?? ??? ?? ???? ?Y ?? ?? ?? f?? =?? ???u??? ?? ?? ?? f??? ?c????? ?? ??? ?) ?? ??? ?< ?? =??? status Lorg/purl/sword/client/Status; server Ljava/lang/String; port I doAuthentication Z username password userAgent client /Lorg/apache/http/impl/client/DefaultHttpClient; DEFAULT_TIMEOUT ConstantValue N log Lorg/apache/log4j/Logger; lastUnmarshallInfo )Lorg/purl/sword/base/SwordValidationInfo; <init> ()V Code LineNumberTable LocalVariableTable this Lorg/purl/sword/client/Client; params #Lorg/apache/http/params/HttpParams; proxyHost Lorg/apache/http/HttpHost; setServer (Ljava/lang/String;I)V setCredentials '(Ljava/lang/String;Ljava/lang/String;)V setBasicCredentials setProxy (Ljava/lang/String;)V host clearProxy clearCredentials setUserAgent setSocketTimeout (I)V milliseconds getServiceDocument 9(Ljava/lang/String;)Lorg/purl/sword/base/ServiceDocument; url Exceptions K(Ljava/lang/String;Ljava/lang/String;)Lorg/purl/sword/base/ServiceDocument; e1 Ljava/net/MalformedURLException; baseURL Ljava/net/URL; e message response Lorg/apache/http/HttpResponse; statusLine Lorg/apache/http/StatusLine; statusCode ioex Ljava/io/IOException; uex )Lorg/purl/sword/base/UnmarshallException; onBehalfOf serviceDocURL httpget (Lorg/apache/http/client/methods/HttpGet; properties Ljava/util/Properties; doc %Lorg/purl/sword/base/ServiceDocument; StackMapTable.?XZhk?????? getLastUnmarshallInfo +()Lorg/purl/sword/base/SwordValidationInfo; postFile J(Lorg/purl/sword/client/PostMessage;)Lorg/purl/sword/base/DepositResponse; md5 filename packaging requestEntity #Lorg/apache/http/entity/FileEntity; httpResponse nex (Ljava/security/NoSuchAlgorithmException; #Lorg/purl/sword/client/PostMessage; httppost )Lorg/apache/http/client/methods/HttpPost; %Lorg/purl/sword/base/DepositResponse; messageBody????? readResponse )(Ljava/io/InputStream;)Ljava/lang/String; stream Ljava/io/InputStream; reader Ljava/io/BufferedReader; line buffer Ljava/lang/StringBuffer;??? getStatus ()Lorg/purl/sword/client/Status; containsValue (Ljava/lang/String;)Z item <clinit> SourceFile Client.java ? ? -org/apache/http/impl/client/DefaultHttpClient ? ??? http.socket.timeout org/purl/sword/client/Client?????? +org/apache/http/conn/params/ConnRoutePNames http.route.default-proxy?? org/apache/http/HttpHost ? ? java/lang/StringBuilder proxy host: ????????? proxy port: ???? ? ? ? ? ? ? ? ? ? ? server: port: u: ' ' p ' '?? org/apache/http/auth/AuthScope ? ? 0org/apache/http/auth/UsernamePasswordCredentials ? ?? ?? ? ??$? ? ? ? ? ? java/net/URL ? ? java/net/MalformedURLException http?? / ?? ?? *org/purl/sword/client/SWORDClientException is not a valid URL (?? +), and could not form a relative one from: ?? / ?? &org/apache/http/client/methods/HttpGet?? ? ? java/util/Properties#$ Setting on-behalf-of: ? ? org/purl/sword/base/HttpHeaders X-On-Behalf-Of?? Setting userAgent: User-Agent???????? org/purl/sword/client/Status?? ?? ? ??? org/apache/http/HttpStatus returned message is: #org/purl/sword/base/ServiceDocument ? ? .Received error from service document request: ? java/io/IOException 'org/purl/sword/base/UnmarshallException Message cannot be null. 'org/apache/http/client/methods/HttpPost?? ? 1234567890 checksum error is: Content-MD5?? Content-Disposition filename=? Slug X-No-Op Wibble ? X-Verbose ?? X-Packaging?? !org/apache/http/entity/FileEntity java/io/File? ?!"# Checking the status code: $? #org/purl/sword/base/DepositResponse ? ? Location%&'(?) ?* ? &java/security/NoSuchAlgorithmException Unable to use MD5. (<pre> </pre>) java/io/BufferedReader java/io/InputStreamReader UTF-8 ?+ ?, java/lang/StringBuffer-??. /?01 java/lang/Object !org/purl/sword/client/SWORDClient java/lang/String org/apache/http/HttpResponse org/apache/http/StatusLine java/lang/Throwable !org/purl/sword/client/PostMessage $java/io/UnsupportedEncodingException getParams %()Lorg/apache/http/params/HttpParams; java/lang/Integer valueOf (I)Ljava/lang/Integer; !org/apache/http/params/HttpParams setParameter I(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/http/params/HttpParams; getParameter &(Ljava/lang/String;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getHostName ()Ljava/lang/String; toString org/apache/log4j/Logger debug (Ljava/lang/Object;)V getPort ()I (I)Ljava/lang/StringBuilder; getCredentialsProvider .()Lorg/apache/http/client/CredentialsProvider; *org/apache/http/client/CredentialsProvider E(Lorg/apache/http/auth/AuthScope;Lorg/apache/http/auth/Credentials;)V removeParameter clear intValue :(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V #(Ljava/net/URL;Ljava/lang/String;)V getMessage -(Ljava/lang/Object;)Ljava/lang/StringBuilder; *(Ljava/lang/String;Ljava/lang/Exception;)V toExternalForm addHeader put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; execute g(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/client/methods/CloseableHttpResponse; getStatusLine ()Lorg/apache/http/StatusLine; getStatusCode getReasonPhrase (ILjava/lang/String;)V getCode getEntity ()Lorg/apache/http/HttpEntity; org/apache/http/HttpEntity getContent ()Ljava/io/InputStream; unmarshall S(Ljava/lang/String;Ljava/util/Properties;)Lorg/purl/sword/base/SwordValidationInfo; releaseConnection getDestination isUseMD5 ()Z getFilepath !org/purl/sword/base/ChecksumUtils generateMD5 &(Ljava/lang/String;)Ljava/lang/String; getChecksumError getFilename equals (Ljava/lang/Object;)Z getSlug getCorruptRequest isNoOp java/lang/Boolean (Z)Ljava/lang/String; isVerbose getPackaging length getOnBehalfOf getUserAgent getFiletype "org/apache/http/entity/ContentType create 8(Ljava/lang/String;)Lorg/apache/http/entity/ContentType; 5(Ljava/io/File;Lorg/apache/http/entity/ContentType;)V setEntity (Lorg/apache/http/HttpEntity;)V info getFirstHeader ,(Ljava/lang/String;)Lorg/apache/http/Header; org/apache/http/Header getValue setLocation unmarshallErrorDocument *(Ljava/io/InputStream;Ljava/lang/String;)V (Ljava/io/Reader;)V readLine ,(Ljava/lang/String;)Ljava/lang/StringBuffer; trim getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? p*? *? Y? ? *? ? L+N ? ? W+? ? M? ? Y? ? ,? ? ? ? ? ? Y? ? ,? ? ? ? *? ? ? . c d e f g f &