awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
yanzhenjie avatar

yanzhenjie/AndServer

0
View on GitHub↗
3,864 星标·777 分支·Java·Apache-2.0·4 次浏览yanzhenjie.com/AndServer↗

AndServer

AndServer is a Java library for hosting a lightweight HTTP server and API endpoints directly within an Android application process. It functions as an annotation-based web framework that maps network requests to specific application methods to decouple business logic from network handling.

The project distinguishes itself as a mobile network gateway capable of routing incoming traffic and proxying data on an Android device. It includes an embedded static file server for delivering HTML files and web assets from the device to other clients over HTTP.

The framework provides a middleware engine for global request interception, authentication, and logging. It covers additional capabilities such as session and cookie management, global exception handling, web response caching, and reverse proxy routing to remote backend servers.

Features

  • In-Process Android HTTP Servers - Hosts a network gateway directly within the Android application process to handle traffic without external infrastructure.
  • Mobile - Provides a mobile network gateway for routing incoming traffic and proxying data directly on an Android device.
  • Android REST API Development - Enables the creation of dynamic REST endpoints within a mobile application to expose internal data.
  • Android HTTP Server Frameworks - Provides a Java library for hosting a lightweight HTTP server and API endpoints directly within an Android application process.
  • Android Mobile Gateways - Routes and proxies incoming network traffic through a mobile device to other backend services or internal logic.
  • Annotation-Driven Request Mappings - Maps HTTP endpoints to handler methods using code annotations to decouple business logic from network handling.
  • Embedded Web Servers - Provides a lightweight HTTP server component integrated directly into the Android application process.
  • Interface-to-Endpoint Mappings - Maps Java method signatures and annotations to specific HTTP endpoints and verbs for request handling.
  • Request Interception Middlewares - Implements a middleware pipeline to execute custom logic for authentication and logging before requests reach their route.
  • HTTP Middleware Pipelines - Implements middleware chains that intercept and transform HTTP requests and responses for authentication and logging.
  • HTTP Data Transformation Pipelines - Transforms request and response data between formats using a centralized sequence of translation plugins.
  • Web Message Converters - Provides global converters to transform request and response data between different representations for consistent exchange.
  • Static Website Hosting - Serving HTML files and web assets directly from an Android device to other clients on the same network.
  • Global Exception Handlers - Implements a centralized mechanism to catch unhandled errors and convert them into standardized HTTP responses.
  • Reverse Proxies - Ships with reverse proxy routing capabilities to forward incoming requests to remote backend servers.
  • Exception Response Mapping - Catches unhandled server errors and converts them into standardized HTTP response status codes and bodies.
  • Reflection-Based Data Binding - Automatically maps raw network request payloads to typed Java objects using runtime type inspection.
  • Static File Servers - Provides a mechanism for serving HTML files and web assets from an Android device to clients over HTTP.
  • Static Website Hosting - Serves static HTML files and web assets directly to clients over HTTP.
  • Web Server Hosting - Runs an HTTP server on a device with configurable ports and security settings to handle local network traffic.

Star 历史

yanzhenjie/andserver 的 Star 历史图表yanzhenjie/andserver 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

yanzhenjie/andserver 是做什么的?

AndServer is a Java library for hosting a lightweight HTTP server and API endpoints directly within an Android application process. It functions as an annotation-based web framework that maps network requests to specific application methods to decouple business logic from network handling.

yanzhenjie/andserver 的主要功能有哪些?

yanzhenjie/andserver 的主要功能包括:In-Process Android HTTP Servers, Mobile, Android REST API Development, Android HTTP Server Frameworks, Android Mobile Gateways, Annotation-Driven Request Mappings, Embedded Web Servers, Interface-to-Endpoint Mappings。

yanzhenjie/andserver 有哪些开源替代品?

yanzhenjie/andserver 的开源替代品包括: cesanta/mongoose — Mongoose is an embedded networking library providing TCP/IP stacks, web server hosting, and IoT device connectivity.… ring-clojure/ring — Ring is a Clojure HTTP web library that represents requests and responses as immutable data structures. It provides a… nanohttpd/nanohttpd — NanoHTTPD is a lightweight, embeddable HTTP server for Java applications. It allows developers to integrate web server… lwsjs/local-web-server — This project is a command-line development web server designed to serve static files and proxy network requests. It… javalin/javalin — Javalin is a lightweight web framework for Java and Kotlin designed for building REST APIs and web applications. It… ninenines/cowboy — Cowboy is a high-performance HTTP server for Erlang and OTP. It is designed to handle web traffic with low memory…

AndServer 的开源替代方案

相似的开源项目,按与 AndServer 的功能重合度排序。
  • ring-clojure/ringring-clojure 的头像

    ring-clojure/ring

    3,880在 GitHub 上查看↗

    Ring is a Clojure HTTP web library that represents requests and responses as immutable data structures. It provides a functional framework for web development, treating HTTP traffic as standardized maps to decouple application logic from specific server implementations. The project features a middleware framework for composing reusable functional layers to handle cross-cutting concerns such as authentication and logging. It includes a server adapter system that translates raw traffic into request maps, as well as a dedicated integration layer for upgrading standard HTTP connections to bidirec

    Clojure
    在 GitHub 上查看↗3,880
  • cesanta/mongoosecesanta 的头像

    cesanta/mongoose

    12,876在 GitHub 上查看↗

    Mongoose is an embedded networking library providing TCP/IP stacks, web server hosting, and IoT device connectivity. It enables microcontrollers and desktop systems to implement network protocols including HTTP, WebSocket, and MQTT. The project provides a bare-metal TCP/IP stack for environments without a native operating system and includes built-in TLS and ECC encryption to secure network traffic. It features a binary-embedded file system to serve web content directly from the executable and supports over-the-air firmware updates for managing device fleets. Additional capabilities cover as

    C
    在 GitHub 上查看↗12,876
  • nanohttpd/nanohttpdNanoHttpd 的头像

    NanoHttpd/nanohttpd

    7,215在 GitHub 上查看↗

    NanoHTTPD is a lightweight, embeddable HTTP server for Java applications. It allows developers to integrate web server capabilities directly into a Java project to handle incoming requests without requiring a standalone installation. The project provides specialized implementations for an HTTPS web server, a WebSocket server for bidirectional real-time communication, and a static file web server. These capabilities enable secure network traffic through SSL certificates and the delivery of local files with automatic MIME type detection. The server includes systems for request routing and hand

    Java
    在 GitHub 上查看↗7,215
  • lwsjs/local-web-serverlwsjs 的头像

    lwsjs/local-web-server

    1,269在 GitHub 上查看↗

    This project is a command-line development web server designed to serve static files and proxy network requests. It functions as a modular, middleware-based server that allows developers to chain custom functions to handle request parsing, response compression, and URL rewriting. The server distinguishes itself through its ability to simulate complex network environments and production-like security configurations. It supports secure encrypted connections via HTTPS and restricts access to hosted resources using basic authentication protocols. Additionally, it provides specialized routing for

    JavaScriptbackendfull-stacklws
    在 GitHub 上查看↗1,269
  • 查看 AndServer 的所有 30 个替代方案→