C++ - A nice example measuring funtion execution time with C++11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #include <iostream> #include <chrono> template<typename TimeT = std::chrono::milliseconds> str...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #include <iostream> #include <chrono> template<typename TimeT = std::chrono::milliseconds> str...
In order to initialize the Web application with Springframework, it is required to detect when context has been initialized. You can achieve it by defining a...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/...
Here is the git hub url for an example of ApacheCXF with websocket. https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/we...
you can specify the max HTTP header size for Tomcap by modifying the file in conf/server.xml as shown below. This example set max HTTP header size 24KB(24576...