Subversion Repositories XServices

Rev

Rev 149 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 149 Rev 150
Line 72... Line 72...
72
        HttpEntity entity = entitybuilder.build();		           
72
        HttpEntity entity = entitybuilder.build();		           
73
        post.setEntity(entity);
73
        post.setEntity(entity);
Line 74... Line 74...
74
        
74
        
75
        CloseableHttpClient httpclient = HttpClients.createDefault();
75
        CloseableHttpClient httpclient = HttpClients.createDefault();
-
 
76
        HttpResponse r = httpclient.execute(post);
76
        HttpResponse r = httpclient.execute(post);
77
        logger.debug("Sending event to ALF event manager");
77
        if(! isDropResponse) {
78
        if(! isDropResponse) {
78
			HttpEntity e = r.getEntity();
79
			HttpEntity e = r.getEntity();
79
			StringBuilder sb = new StringBuilder();
80
			StringBuilder sb = new StringBuilder();
80
			BufferedReader in = new BufferedReader(new InputStreamReader(e.getContent()));
81
			BufferedReader in = new BufferedReader(new InputStreamReader(e.getContent()));