Skip to main content

Home/ woopi-java/ Group items tagged apache

Rss Feed Group items tagged

Martin Menzel

classpath - How to analyse which jar file is used in a JAVA program? - Stack Overflow - 0 views

  •  
    " 10 down vote Invoke the java executable with the -verbose:class argument. This will produce output like: [Loaded org.apache.log4j.helpers.ThreadLocalMap from file:/C:/.../1.2.14/log4j-1.2.14.jar] [Loaded org.apache.commons.cli.Option from file:/C:/.../commons-cli-1.2.jar]"
Martin Menzel

Extras - Download Apache Extras Companion™ for Apache log4j™ - 0 views

  •  
    RollingFileAppender can compress "old" logfiles!
Martin Menzel

Gunnar Hillert's Blog: Apache Camel Alternatives - 0 views

Martin Menzel

SNISupport - Httpcomponents Wiki - 0 views

  •  
    "SSLContext sslcontext = SSLContexts.createSystemDefault(); 2 SSLSocketFactory sslsf = new SSLSocketFactory(sslcontext) { 3 4 @Override 5 public Socket connectSocket( 6 int connectTimeout, 7 Socket socket, 8 HttpHost host, 9 InetSocketAddress remoteAddress, 10 InetSocketAddress localAddress, 11 HttpContext context) throws IOException, ConnectTimeoutException { 12 if (socket instanceof SSLSocket) { 13 try { 14 PropertyUtils.setProperty(socket, "host", host.getHostName()); 15 } catch (NoSuchMethodException ex) { 16 } catch (IllegalAccessException ex) { 17 } catch (InvocationTargetException ex) { 18 } 19 } 20 return super.connectSocket(connectTimeout, socket, host, remoteAddress, 21 localAddress, context); 22 } 23 24 }; 25 26 CloseableHttpClient httpclient = HttpClients.custom() 27 .setSSLSocketFactory(sslsf) 28 .build(); 29 CloseableHttpResponse response = httpclient.execute(new HttpGet("https://verisign.com/")); 30 try { 31 System.out.println(response.getStatusLine()); 32 EntityUtils.consume(response.getEntity()); 33 } finally { 34 response.close(); 35 }"
Martin Menzel

[#CAMEL-1293] bean component - ability to pass in additional parameters - ASF JIRA - 0 views

  •  
    "@Header(name = "type") String type,"
1 - 17 of 17
Showing 20 items per page