Edit C:\apache-tomcat-7.0.69\webapps\rest\WEB-INF\classes\org\dspace\rest\Resource.class
???? 3 ; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 6 ? - ? ? ? ? ? ? ? ? ? ? 6 ? ? ? ? ? ? ? ? ? ? ? # ? ? ? ' ? - ? - ? ' ? ' ? ? ' ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? servletContext Ljavax/servlet/ServletContext; RuntimeVisibleAnnotations Ljavax/ws/rs/core/Context; log Lorg/apache/log4j/Logger; writeStatistics Z <init> ()V Code LineNumberTable LocalVariableTable this Lorg/dspace/rest/Resource; createContext ()Lorg/dspace/core/Context; grantedAuthority DLorg/springframework/security/core/authority/SimpleGrantedAuthority; specialGroups Ljava/util/Collection; context Lorg/dspace/core/Context; authentication 2Lorg/springframework/security/core/Authentication; LocalVariableTypeTable \Ljava/util/Collection<Lorg/springframework/security/core/authority/SimpleGrantedAuthority;>; StackMapTable ? ? ? ? Exceptions ? ? writeStats ? Action InnerClasses ?(Lorg/dspace/content/DSpaceObject;Lorg/dspace/usage/UsageEvent$Action;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;Lorg/dspace/core/Context;)V dspaceObject !Lorg/dspace/content/DSpaceObject; action $Lorg/dspace/usage/UsageEvent$Action; user_ip Ljava/lang/String; user_agent xforwardedfor headers Ljavax/ws/rs/core/HttpHeaders; request 'Ljavax/servlet/http/HttpServletRequest; processException .(Ljava/lang/String;Lorg/dspace/core/Context;)V message processFinally (Lorg/dspace/core/Context;)V mySplit '(Ljava/lang/String;)[Ljava/lang/String; i I key list Ljava/util/ArrayList; prev )Ljava/util/ArrayList<Ljava/lang/String;>; ? getActionString (I)Ljava/lang/String; actionStr ? <clinit> SourceFile Resource.java D E org/dspace/core/Context ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Borg/springframework/security/core/authority/SimpleGrantedAuthority ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B C ? ? ? ? ? ? ? org/dspace/usage/UsageEvent D ? ? D @ A fired event ? E #javax/ws/rs/WebApplicationException D ;Something get wrong. Aborting context in finally statement. java/util/ArrayList ? ? java/lang/String [Ljava/lang/String; read write delete remove add (?action?) org/dspace/rest/Resource rest.stats java/lang/Object 0org/springframework/security/core/Authentication java/util/Collection java/util/Iterator +org/dspace/rest/exceptions/ContextException java/sql/SQLException "org/dspace/usage/UsageEvent$Action ?org/springframework/security/core/context/SecurityContextHolder getContext =()Lorg/springframework/security/core/context/SecurityContext; 9org/springframework/security/core/context/SecurityContext getAuthentication 4()Lorg/springframework/security/core/Authentication; getAuthorities ()Ljava/util/Collection; iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; 0org/dspace/eperson/factory/EPersonServiceFactory getInstance 4()Lorg/dspace/eperson/factory/EPersonServiceFactory; getGroupService +()Lorg/dspace/eperson/service/GroupService; getAuthority ()Ljava/lang/String; 'org/dspace/eperson/service/GroupService findByName G(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/eperson/Group; org/dspace/eperson/Group getID ()Ljava/util/UUID; setSpecialGroup (Ljava/util/UUID;)V getEPersonService -()Lorg/dspace/eperson/service/EPersonService; getName )org/dspace/eperson/service/EPersonService findByEmail I(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/eperson/EPerson; setCurrentUser (Lorg/dspace/eperson/EPerson;)V length ()I 1org/dspace/services/factory/DSpaceServicesFactory 5()Lorg/dspace/services/factory/DSpaceServicesFactory; getEventService $()Lorg/dspace/services/EventService; ?(Lorg/dspace/usage/UsageEvent$Action;Ljavax/servlet/http/HttpServletRequest;Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)V org/dspace/services/EventService fireEvent $(Lorg/dspace/services/model/Event;)V ?(Lorg/dspace/usage/UsageEvent$Action;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)V org/apache/log4j/Logger debug (Ljava/lang/Object;)V isValid abort error javax/ws/rs/core/Response$Status Status INTERNAL_SERVER_ERROR "Ljavax/ws/rs/core/Response$Status; %(Ljavax/ws/rs/core/Response$Status;)V charAt (I)C substring (II)Ljava/lang/String; (Ljava/lang/Object;)Z size toArray (([Ljava/lang/Object;)[Ljava/lang/Object; getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; getConfigurationService ,()Lorg/dspace/services/ConfigurationService; (org/dspace/services/ConfigurationService getBooleanProperty (Ljava/lang/String;Z)Z javax/ws/rs/core/Response ! 6 ; <