Edit C:\dspace\webapps\swordv2\WEB-INF\lib\org\elasticsearch\http\HttpServer.class
???? 3? !org/elasticsearch/http/HttpServer dLorg/elasticsearch/common/component/AbstractLifecycleComponent<Lorg/elasticsearch/http/HttpServer;>; =org/elasticsearch/common/component/AbstractLifecycleComponent HttpServer.java 2org/elasticsearch/http/HttpServer$PluginSiteFilter PluginSiteFilter ,org/elasticsearch/http/HttpServer$Dispatcher Dispatcher )org/elasticsearch/rest/RestRequest$Method "org/elasticsearch/rest/RestRequest Method environment #Lorg/elasticsearch/env/Environment; transport ,Lorg/elasticsearch/http/HttpServerTransport; restController 'Lorg/elasticsearch/rest/RestController; nodeService ,Lorg/elasticsearch/node/service/NodeService; disableSites Z pluginSiteFilter 4Lorg/elasticsearch/http/HttpServer$PluginSiteFilter; DEFAULT_MIME_TYPES Ljava/util/Map; 5Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>; <init> ?(Lorg/elasticsearch/common/settings/Settings;Lorg/elasticsearch/env/Environment;Lorg/elasticsearch/http/HttpServerTransport;Lorg/elasticsearch/rest/RestController;Lorg/elasticsearch/node/service/NodeService;)V (Lorg/elasticsearch/common/inject/Inject; /(Lorg/elasticsearch/common/settings/Settings;)V ! $ % &(Lorg/elasticsearch/http/HttpServer;)V ! ' ( * , . 0 2 *org/elasticsearch/node/service/NodeService 4 setHttpServer 6 ' 5 7 componentSettings ,Lorg/elasticsearch/common/settings/Settings; 9 : ; disable_sites = java/lang/Boolean ? valueOf (Z)Ljava/lang/Boolean; A B @ C *org/elasticsearch/common/settings/Settings E getAsBoolean :(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean; G H F I booleanValue ()Z K L @ M O ( *org/elasticsearch/http/HttpServerTransport R httpServerAdapter -(Lorg/elasticsearch/http/HttpServerAdapter;)V T U S V this #Lorg/elasticsearch/http/HttpServer; settings doStart ()V (org/elasticsearch/ElasticsearchException ] start ()Ljava/lang/Object; _ ` S a logger +Lorg/elasticsearch/common/logging/ESLogger; c d e )org/elasticsearch/common/logging/ESLogger g isInfoEnabled i L h j {} l java/lang/Object n boundAddress <()Lorg/elasticsearch/common/transport/BoundTransportAddress; p q S r info ((Ljava/lang/String;[Ljava/lang/Object;)V t u h v http_address x 8org/elasticsearch/common/transport/BoundTransportAddress z publishAddress 7()Lorg/elasticsearch/common/transport/TransportAddress; | } { ~ toString ()Ljava/lang/String; ? ? o ? putAttribute '(Ljava/lang/String;Ljava/lang/String;)V ? ? 5 ? doStop removeAttribute (Ljava/lang/String;)V ? ? 5 ? stop ? ` S ? doClose close ? \ S ? #()Lorg/elasticsearch/http/HttpInfo; t ? S ? stats $()Lorg/elasticsearch/http/HttpStats; ? ? S ? internalDispatchRequest K(Lorg/elasticsearch/http/HttpRequest;Lorg/elasticsearch/http/HttpChannel;)V "org/elasticsearch/http/HttpRequest ? rawPath ? ? ? ? /_plugin/ ? java/lang/String ? startsWith (Ljava/lang/String;)Z ? ? ? ? %org/elasticsearch/rest/RestController ? filterChain M(Lorg/elasticsearch/rest/RestFilter;)Lorg/elasticsearch/rest/RestFilterChain; ? ? ? ? &org/elasticsearch/rest/RestFilterChain ? continueProcessing K(Lorg/elasticsearch/rest/RestRequest;Lorg/elasticsearch/rest/RestChannel;)V ? ? ? ? dispatchRequest ? ? ? ? (Lorg/elasticsearch/rest/RestFilterChain; request $Lorg/elasticsearch/http/HttpRequest; channel $Lorg/elasticsearch/http/HttpChannel; handlePluginSite java/io/IOException ? (org/elasticsearch/rest/BytesRestResponse ? !org/elasticsearch/rest/RestStatus ? FORBIDDEN #Lorg/elasticsearch/rest/RestStatus; ? ? ? ? &(Lorg/elasticsearch/rest/RestStatus;)V ! ? ? ? "org/elasticsearch/http/HttpChannel ? sendResponse ((Lorg/elasticsearch/rest/RestResponse;)V ? ? ? ? method -()Lorg/elasticsearch/rest/RestRequest$Method; ? ? ? ? OPTIONS +Lorg/elasticsearch/rest/RestRequest$Method; ? ? ? OK ? ? ? ? GET ? ? ? length ()I ? ? ? ? substring (I)Ljava/lang/String; ? ? ? ? indexOf (I)I ? ? ? ? java/lang/StringBuilder ? ! \ ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ? ? ? / ? ? ? MOVED_PERMANENTLY ? ? ? ? text/html ? 1<head><meta http-equiv="refresh" content="0; URL= ? ></head> ? J(Lorg/elasticsearch/rest/RestStatus;Ljava/lang/String;Ljava/lang/String;)V ! ? Location addHeader ? ? (II)Ljava/lang/String; ? ? /index.html java/io/File separatorChar C replace (CC)Ljava/lang/String; ? !org/elasticsearch/env/Environment pluginsFile ()Ljava/io/File; #(Ljava/io/File;Ljava/lang/String;)V ! _site exists"