- 博客(25)
- 收藏
- 关注
转载 zuul服务过滤
1 @Component 2 public class MyFilter extends ZuulFilter { 3 4 private static Logger log = LoggerFactory.getLogger(MyFilter.class); 5 @Override 6 public String filterTy...
2018-12-27 11:34:00
102
转载 Spring Boot 拦截器
原文转自:https://blog.csdn.net/catoop/article/details/50501696转载于:https://www.cnblogs.com/xiao--y/p/8979065.html
2018-05-02 10:26:00
67
转载 浅谈对ControllerAdvice注解的理解
该注解顾名思义增强器,对注解了Controller类的增强,@ControllerAdvice的实现:/** * Specialization of {@link Component @Component} for classes that declare * {@link ExceptionHandler @ExceptionHandler}, {@link Ini...
2018-04-28 11:44:00
103
转载 @Configuration注解详解
转https://blog.csdn.net/isea533/article/details/78072133转载于:https://www.cnblogs.com/xiao--y/p/8963033.html
2018-04-27 16:17:00
88
转载 Nginx配置文件详解
1 #运行用户 2 user nobody; 3 #启动进程,通常设置成和cpu的数量相等 4 worker_processes 1; 5 6 #全局错误日志及PID文件 7 #error_log logs/error.log; 8 #error_log logs/error.log notice; 9 #error_lo...
2018-04-27 09:58:00
66
转载 spring cloud eureka 微服务配置&&spring cloud 博客
https://www.cnblogs.com/li3807/p/7282492.html博客http://blog.csdn.net/u012316953/article/category/7152421转载于:https://www.cnblogs.com/xiao--y/p/8516616.html
2018-03-06 20:36:00
55
转载 httpclient关闭方法
HttpClient client = new HttpClient(); HttpMethod method = new GetMethod("http://www.apache.org"); try { client.executeMethod(method); byte[] responseBody = null; resp...
2017-11-22 10:56:00
416
转载 Eureka常见问题
转载自http://www.cnblogs.com/moonandstar08/p/6435710.html转载于:https://www.cnblogs.com/xiao--y/p/7478559.html
2017-09-05 14:38:00
53
转载 spring cloud教程
转载自http://blog.csdn.net/forezp/article/details/70148833转载于:https://www.cnblogs.com/xiao--y/p/7473766.html
2017-09-04 15:17:00
34
转载 spring boot+mybatis动态数据源全注解方式实现
http://blog.csdn.net/linxingliang/article/details/52324937转载于:https://www.cnblogs.com/xiao--y/p/7445039.html
2017-08-28 18:00:00
35
转载 mysql url中时区陷阱问题
前言最近在使用mysql的6.0.x以上的jar的时候,需要在代码url的链接里面指定serverTimezone。就会出现异常:1.未指定serverTimezonexml里面配置url<property name="url" value="jdbc:mysql://localhost:3306/mybatisstudy"/>出现的异常C...
2017-08-24 14:53:00
190
转载 applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:xsi="http://www.w3.or...
2017-07-31 23:47:00
45
转载 logback.xml
http://www.cnblogs.com/warking/p/5710303.html转载于:https://www.cnblogs.com/xiao--y/p/6805489.html
2017-05-04 10:04:00
56
转载 自定义注解
http://www.cnblogs.com/peida/archive/2013/04/24/3036689.html转载于:https://www.cnblogs.com/xiao--y/p/6801765.html
2017-05-03 14:29:00
42
转载 通用mapper
1. 继承通用的Mapper<T>,必须指定泛型<T>例如下面的例子:public interface UserInfoMapper extends Mapper<UserInfo> { //其他必须手写的接口...}一旦继承了Mapper<T>,继承的Mapper就拥有了Mapper<T...
2017-04-28 10:33:00
89
转载 斐波那契的三种时间复杂度
http://blog.csdn.net/beautyofmath/article/details/48184331转载于:https://www.cnblogs.com/xiao--y/p/6763756.html
2017-04-25 18:52:00
179
转载 spring配置文件详解
http://blog.csdn.net/zzjjiandan/article/details/22922847转载于:https://www.cnblogs.com/xiao--y/p/6761044.html
2017-04-25 11:16:00
45
转载 classpath和classpath*的区别
classpath 和 classpath* 区别:classpath:只会到你指定的class路径中查找找文件;classpath*:不仅包含class路径,还包括jar文件中(class路径)进行查找.举个简单的例子,在我的web.xml中是这么定义的:classpath*:META-INF/spring/application-context.xml那么在ME...
2017-04-19 15:35:00
100
转载 spring boot学习
http://blog.csdn.net/column/details/spring-boot.html转载于:https://www.cnblogs.com/xiao--y/p/6733411.html
2017-04-19 14:42:00
25
转载 @requestBody和@requesrParam
转载于:https://www.cnblogs.com/xiao--y/p/6708668.html
2017-04-14 14:22:00
275
转载 http状态码
http://tool.oschina.net/commons?type=5转载于:https://www.cnblogs.com/xiao--y/p/6707747.html
2017-04-14 10:56:00
50
转载 spring boot入门
http://www.cnblogs.com/wangdaijun/p/5333065.html转载于:https://www.cnblogs.com/xiao--y/p/6679071.html
2017-04-07 17:05:00
46
转载 Spring(AbstractRoutingDataSource)实现动态数据源切换
http://linhongyu.blog.51cto.com/6373370/1615895转载于:https://www.cnblogs.com/xiao--y/p/6635513.html
2017-03-28 16:33:00
73
转载 Spring AOP中Pointcut,dvice 和 Advisor三个概念
(1)切入点 Pointcut 在介绍Pointcut之前,有必要先介绍 Join Point(连接点)概念。 连接点:程序运行中的某个阶段点,比如方法的调用、异常的抛出等。比如方法doSome(); Pointcut是JoinPoint的集合,它是程序中需要注入Advice 的位...
2017-03-28 14:27:00
237
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人