资源简介

基于springboot工程依赖的netty-socketio实现的web页面消息推送服务实现

资源截图

代码片段和文件信息

package com.zhoujw.socketiotest;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@SpringBootApplication
@Controller
@EnableAutoConfiguration
@ServletComponentScan
public class SocketioTestApplication {

public static void main(String[] args) {
SpringApplication.run(SocketioTestApplication.class args);
}

@RequestMapping(“/jsp/test“)
// @ResponseBody
public String test(){
return “test“;
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        268  2018-08-02 09:51  socketio-test\.gitignore

     文件        638  2018-08-02 09:52  socketio-test\.idea\compiler.xml

     文件        256  2018-08-02 09:52  socketio-test\.idea\encodings.xml

     文件       1959  2018-08-02 15:53  socketio-test\.idea\inspectionProfiles\Project_Default.xml

     文件        575  2018-08-02 09:52  socketio-test\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_1_11.xml

     文件        554  2018-08-02 09:52  socketio-test\.idea\libraries\Maven__ch_qos_logback_logback_core_1_1_11.xml

     文件        620  2018-08-02 15:19  socketio-test\.idea\libraries\Maven__com_corundumstudio_socketio_netty_socketio_1_7_14.xml

     文件        522  2018-08-02 09:52  socketio-test\.idea\libraries\Maven__com_fasterxml_classmate_1_3_4.xml

     文件        644  2018-08-02 09:52  socketio-test\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml

     文件        602  2018-08-02 09:52  socketio-test\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_8_11.xml

     文件        644  2018-08-02 09:52  socketio-test\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_8_11_2.xml

     文件        546  2018-08-02 09:52  socketio-test\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_2_0.xml

     文件        529  2018-08-02 10:27  socketio-test\.idea\libraries\Maven__com_squareup_okhttp3_okhttp_3_4_1.xml

     文件        550  2018-08-02 10:27  socketio-test\.idea\libraries\Maven__com_squareup_okhttp3_okhttp_ws_3_4_1.xml

     文件        503  2018-08-02 10:27  socketio-test\.idea\libraries\Maven__com_squareup_okio_okio_1_9_0.xml

     文件        700  2018-08-02 09:52  socketio-test\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml

     文件        572  2018-08-02 15:19  socketio-test\.idea\libraries\Maven__io_netty_netty_buffer_4_1_22_Final.xml

     文件        565  2018-08-02 15:19  socketio-test\.idea\libraries\Maven__io_netty_netty_codec_4_1_22_Final.xml

     文件        600  2018-08-02 15:19  socketio-test\.idea\libraries\Maven__io_netty_netty_codec_http_4_1_22_Final.xml

     文件        572  2018-08-02 15:19  socketio-test\.idea\libraries\Maven__io_netty_netty_common_4_1_22_Final.xml

     文件        579  2018-08-02 15:19  socketio-test\.idea\libraries\Maven__io_netty_netty_handler_4_1_22_Final.xml

     文件        586  2018-08-02 15:19  socketio-test\.idea\libraries\Maven__io_netty_netty_resolver_4_1_22_Final.xml

     文件        593  2018-08-02 15:19  socketio-test\.idea\libraries\Maven__io_netty_netty_transport_4_1_22_Final.xml

     文件        684  2018-08-02 15:19  socketio-test\.idea\libraries\Maven__io_netty_netty_transport_native_epoll_4_1_22_Final.xml

     文件        726  2018-08-02 15:19  socketio-test\.idea\libraries\Maven__io_netty_netty_transport_native_unix_common_4_1_22_Final.xml

     文件        555  2018-08-02 10:27  socketio-test\.idea\libraries\Maven__io_socket_engine_io_client_0_8_2.xml

     文件        555  2018-08-02 10:27  socketio-test\.idea\libraries\Maven__io_socket_socket_io_client_0_8_2.xml

     文件        473  2018-08-02 10:48  socketio-test\.idea\libraries\Maven__javax_servlet_jstl_1_2.xml

     文件        611  2018-08-02 09:52  socketio-test\.idea\libraries\Maven__javax_validation_validation_api_1_1_0_Final.xml

     文件        455  2018-08-02 09:52  socketio-test\.idea\libraries\Maven__junit_junit_4_12.xml

............此处省略136个文件信息

评论

共有 条评论