Giter VIP home page Giter VIP logo

week03's Introduction

week03

第三周作业

1.(必做)整合你上次作业的 httpclient/okhttp; 2.(选做)使用 netty 实现后端 http 访问(代替上一步骤)

​ 这两道作业在 netty-client ,默认访问的8888端口是自定义网关的端口

​ 自定义网关在netty-gateway , 包com.yangmin.nettygateway.service是模拟的后端服务,启动实在Server01Server02 分别使用 8801 和 8802 端口

3.(必做)实现过滤器。

​ 参考的是提供的例子,过滤器的定义在包com.yangmin.nettygateway.filter

​ 过滤器的使用在com.yangmin.nettygateway.outbound.HttpOutBoundHandler的 65行和113行

4.(选做)实现路由。

参考提供的例子,路由的定义在包com.yangmin.nettygateway.router

路由的使用在类com.yangmin.nettygateway.outbound.HttpOutBoundHandler63行

week03's People

Contributors

yangmin-95827 avatar

Stargazers

xiaoyang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.