repo
stringclasses
1k values
file_url
stringlengths
96
373
file_path
stringlengths
11
294
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
6 values
commit_sha
stringclasses
1k values
retrieved_at
stringdate
2026-01-04 14:45:56
2026-01-04 18:30:23
truncated
bool
2 classes
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-common/src/main/java/com/macro/mall/common/config/BaseRedisConfig.java
mall-common/src/main/java/com/macro/mall/common/config/BaseRedisConfig.java
package com.macro.mall.common.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.jsontype.impl.LaissezFaireSubTypeValidator; import com.macro.mall.common.serv...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-common/src/main/java/com/macro/mall/common/log/WebLogAspect.java
mall-common/src/main/java/com/macro/mall/common/log/WebLogAspect.java
package com.macro.mall.common.log; import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.URLUtil; import cn.hutool.json.JSONUtil; import com.macro.mall.common.domain.WebLog; import com.macro.mall.common.util.RequestUtil; import io.swagger.annotations.ApiOperation; import net.logstash.logback.marker.Markers; i...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/test/java/com/macro/mall/search/MallSearchApplicationTests.java
mall-search/src/test/java/com/macro/mall/search/MallSearchApplicationTests.java
package com.macro.mall.search; import com.macro.mall.search.dao.EsProductDao; import com.macro.mall.search.domain.EsProduct; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.data.ela...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/main/java/com/macro/mall/search/MallSearchApplication.java
mall-search/src/main/java/com/macro/mall/search/MallSearchApplication.java
package com.macro.mall.search; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication(scanBasePackages = "com.macro.mall") public class MallSearchApplication { public static void main(String[] args) { SpringApplicatio...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/main/java/com/macro/mall/search/controller/EsProductController.java
mall-search/src/main/java/com/macro/mall/search/controller/EsProductController.java
package com.macro.mall.search.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.search.domain.EsProduct; import com.macro.mall.search.domain.EsProductRelatedInfo; import com.macro.mall.search.service.EsProductService; import io.swagger.annotat...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/main/java/com/macro/mall/search/dao/EsProductDao.java
mall-search/src/main/java/com/macro/mall/search/dao/EsProductDao.java
package com.macro.mall.search.dao; import com.macro.mall.search.domain.EsProduct; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 搜索商品管理自定义Dao * Created by macro on 2018/6/19. */ public interface EsProductDao { /** * 获取指定ID的搜索商品 */ List<EsProduct> getAllEsProductList(@Pa...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/main/java/com/macro/mall/search/service/EsProductService.java
mall-search/src/main/java/com/macro/mall/search/service/EsProductService.java
package com.macro.mall.search.service; import com.macro.mall.search.domain.EsProduct; import com.macro.mall.search.domain.EsProductRelatedInfo; import org.springframework.data.domain.Page; import java.util.List; /** * 搜索商品管理Service * Created by macro on 2018/6/19. */ public interface EsProductService { /** ...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/main/java/com/macro/mall/search/service/impl/EsProductServiceImpl.java
mall-search/src/main/java/com/macro/mall/search/service/impl/EsProductServiceImpl.java
package com.macro.mall.search.service.impl; import cn.hutool.core.collection.ListUtil; import cn.hutool.core.util.StrUtil; import com.macro.mall.search.dao.EsProductDao; import com.macro.mall.search.domain.EsProduct; import com.macro.mall.search.domain.EsProductRelatedInfo; import com.macro.mall.search.repository.EsPr...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/main/java/com/macro/mall/search/domain/EsProductRelatedInfo.java
mall-search/src/main/java/com/macro/mall/search/domain/EsProductRelatedInfo.java
package com.macro.mall.search.domain; import lombok.Data; import lombok.EqualsAndHashCode; import java.util.List; /** * 搜索商品的关联信息,包括品牌名称,分类名称及属性 * Created by macro on 2018/6/27. */ @Data @EqualsAndHashCode public class EsProductRelatedInfo { private List<String> brandNames; private List<String> productCat...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/main/java/com/macro/mall/search/domain/EsProduct.java
mall-search/src/main/java/com/macro/mall/search/domain/EsProduct.java
package com.macro.mall.search.domain; import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.data.annotation.Id; import org.springframework.data.elasticsearch.annotations.Document; import org.springframework.data.elasticsearch.annotations.Field; import org.springframework.data.elasticsearch.an...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/main/java/com/macro/mall/search/domain/EsProductAttributeValue.java
mall-search/src/main/java/com/macro/mall/search/domain/EsProductAttributeValue.java
package com.macro.mall.search.domain; import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.data.elasticsearch.annotations.Field; import org.springframework.data.elasticsearch.annotations.FieldType; import java.io.Serializable; /** * 搜索商品的属性信息 * Created by macro on 2018/6/27. */ @Data @E...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/main/java/com/macro/mall/search/repository/EsProductRepository.java
mall-search/src/main/java/com/macro/mall/search/repository/EsProductRepository.java
package com.macro.mall.search.repository; import com.macro.mall.search.domain.EsProduct; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; /** * 搜索商品ES操作类 * Created by macro on 2018/6/19. *...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/main/java/com/macro/mall/search/config/MyBatisConfig.java
mall-search/src/main/java/com/macro/mall/search/config/MyBatisConfig.java
package com.macro.mall.search.config; import org.mybatis.spring.annotation.MapperScan; import org.springframework.context.annotation.Configuration; /** * MyBatis相关配置 * Created by macro on 2019/4/8. */ @Configuration @MapperScan({"com.macro.mall.mapper","com.macro.mall.search.dao"}) public class MyBatisConfig { }
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
macrozheng/mall
https://github.com/macrozheng/mall/blob/dd6569c3558f79af5b21aad601349e0f029b9a6d/mall-search/src/main/java/com/macro/mall/search/config/SwaggerConfig.java
mall-search/src/main/java/com/macro/mall/search/config/SwaggerConfig.java
package com.macro.mall.search.config; import com.macro.mall.common.config.BaseSwaggerConfig; import com.macro.mall.common.domain.SwaggerProperties; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Config...
java
Apache-2.0
dd6569c3558f79af5b21aad601349e0f029b9a6d
2026-01-04T14:45:56.650249Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/MessageUtilsTest.java
labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/MessageUtilsTest.java
package com.taobao.arthas.grpcweb.proxy.server; import com.taobao.arthas.grpcweb.proxy.MessageUtils; import org.junit.Assert; import org.junit.Test; public class MessageUtilsTest { @Test public void testValidateContentType(){ String contentType1 = "application/grpc-web"; MessageUtils.ContentT...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/MessageDeframerTest.java
labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/MessageDeframerTest.java
package com.taobao.arthas.grpcweb.proxy.server; import com.taobao.arthas.grpcweb.proxy.MessageDeframer; import com.taobao.arthas.grpcweb.proxy.MessageUtils; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufInputStream; import io.netty.buffer.Unpooled; import io.netty.util.CharsetUtil; import org.apache.ht...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/StartGrpcTest.java
labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/StartGrpcTest.java
package com.taobao.arthas.grpcweb.proxy.server; import com.taobao.arthas.grpcweb.proxy.server.grpcService.EchoImpl; import com.taobao.arthas.grpcweb.proxy.server.grpcService.GreeterService; import com.taobao.arthas.grpcweb.proxy.server.grpcService.HelloImpl; import io.grpc.BindableService; import io.grpc.Server; impor...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/StartGrpcWebProxyTest.java
labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/StartGrpcWebProxyTest.java
package com.taobao.arthas.grpcweb.proxy.server; public class StartGrpcWebProxyTest { private int GRPC_WEB_PROXY_PORT; private int GRPC_PORT; public StartGrpcWebProxyTest(int grpcWebPort, int grpcPort){ this.GRPC_WEB_PROXY_PORT = grpcWebPort; this.GRPC_PORT = grpcPort; } public ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/GrpcWebProxyServerTest.java
labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/GrpcWebProxyServerTest.java
package com.taobao.arthas.grpcweb.proxy.server; import grpc.gateway.testing.Echo; import org.apache.http.HttpEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.CloseableHttpC...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/CorsUtilsTest.java
labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/CorsUtilsTest.java
package com.taobao.arthas.grpcweb.proxy.server; import com.taobao.arthas.grpcweb.proxy.CorsUtils; import io.netty.handler.codec.http.*; import org.junit.Test; public class CorsUtilsTest { @Test public void test(){ DefaultHttpResponse response = new DefaultHttpResponse(HttpVersion.HTTP_1_1, HttpRespo...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/grpcService/EchoImpl.java
labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/grpcService/EchoImpl.java
package com.taobao.arthas.grpcweb.proxy.server.grpcService; import grpc.gateway.testing.Echo.*; import grpc.gateway.testing.EchoServiceGrpc.EchoServiceImplBase; import io.grpc.Metadata; import io.grpc.Metadata.Key; import io.grpc.Status; import io.grpc.stub.StreamObserver; public class EchoImpl extends EchoServiceImp...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/grpcService/GreeterService.java
labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/grpcService/GreeterService.java
/* * Copyright 2020 The gRPC Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/grpcService/HelloImpl.java
labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/proxy/server/grpcService/HelloImpl.java
package com.taobao.arthas.grpcweb.proxy.server.grpcService; import helloworld.GreeterGrpc.GreeterImplBase; import helloworld.Helloworld.HelloReply; import helloworld.Helloworld.HelloRequest; import helloworld.Helloworld.RepeatHelloRequest; import io.grpc.stub.StreamObserver; public class HelloImpl extends GreeterImpl...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/grpc/service/JavaObjectConverterTest.java
labs/arthas-grpc-web-proxy/src/test/java/com/taobao/arthas/grpcweb/grpc/service/JavaObjectConverterTest.java
package com.taobao.arthas.grpcweb.grpc.service; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.List; impor...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/GrpcServiceConnectionManager.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/GrpcServiceConnectionManager.java
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/MessageUtils.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/MessageUtils.java
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/MessageDeframer.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/MessageDeframer.java
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/SingleHttpChunkedInput.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/SingleHttpChunkedInput.java
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/GrpcWebRequestHandler.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/GrpcWebRequestHandler.java
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/CorsUtils.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/CorsUtils.java
package com.taobao.arthas.grpcweb.proxy; import io.netty.handler.codec.http.HttpHeaderNames; import io.netty.handler.codec.http.HttpHeaders; /** * TODO 支持让用户配置更精细的 cors header * @author hengyunabc 2023-09-07 * */ public class CorsUtils { public static void updateCorsHeader(HttpHeaders headers) { // he...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/MetadataUtil.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/MetadataUtil.java
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/MessageFramer.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/MessageFramer.java
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/GrpcWebClientInterceptor.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/GrpcWebClientInterceptor.java
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/SendGrpcWebResponse.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/SendGrpcWebResponse.java
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/server/GrpcWebProxyHandler.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/server/GrpcWebProxyHandler.java
package com.taobao.arthas.grpcweb.proxy.server; import com.taobao.arthas.grpcweb.proxy.GrpcServiceConnectionManager; import com.taobao.arthas.grpcweb.proxy.GrpcWebRequestHandler; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/server/GrpcWebProxyServer.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/server/GrpcWebProxyServer.java
package com.taobao.arthas.grpcweb.proxy.server; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.Channel; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioServerSocketChannel; import io.netty.handler.logging.LogLevel; import ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/server/GrpcWebProxyServerInitializer.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/proxy/server/GrpcWebProxyServerInitializer.java
package com.taobao.arthas.grpcweb.proxy.server; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; import io.netty.channel.socket.SocketChannel; import io.netty.handler.codec.http.HttpObjectAggregator; import io.netty.handler.codec.http.HttpServerCodec; import io.netty.handler.stream....
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/DemoBootstrap.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/DemoBootstrap.java
package com.taobao.arthas.grpcweb.grpc; import com.alibaba.arthas.deps.org.slf4j.Logger; import com.alibaba.arthas.deps.org.slf4j.LoggerFactory; import com.taobao.arthas.common.SocketUtils; import com.taobao.arthas.core.advisor.TransformerManager; import com.taobao.arthas.grpcweb.grpc.objectUtils.ComplexObject; import...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/WatchCommandService.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/WatchCommandService.java
package com.taobao.arthas.grpcweb.grpc.service; import io.arthas.api.ArthasServices.ResponseBody; import io.arthas.api.ArthasServices.WatchRequest; import io.arthas.api.WatchGrpc; import com.alibaba.arthas.deps.org.slf4j.Logger; import com.alibaba.arthas.deps.org.slf4j.LoggerFactory; import com.taobao.arthas.core.advi...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/SystemPropertyCommandService.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/SystemPropertyCommandService.java
package com.taobao.arthas.grpcweb.grpc.service; import com.taobao.arthas.core.shell.system.ExecStatus; import io.arthas.api.ArthasServices.ResponseBody; import io.arthas.api.ArthasServices.StringKey; import io.arthas.api.ArthasServices.StringStringMapValue; import io.arthas.api.SystemPropertyGrpc; import com.google.pr...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/PwdCommandService.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/PwdCommandService.java
package com.taobao.arthas.grpcweb.grpc.service; import com.taobao.arthas.core.shell.system.ExecStatus; import io.arthas.api.ArthasServices.ResponseBody; import io.arthas.api.PwdGrpc; import com.google.protobuf.Empty; import com.taobao.arthas.core.command.model.PwdModel; import com.taobao.arthas.core.shell.session.Ses...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/ObjectService.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/ObjectService.java
package com.taobao.arthas.grpcweb.grpc.service; import java.lang.instrument.Instrumentation; import java.lang.invoke.MethodHandles; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; import com.taobao.arthas.core.command.express.Express; import com.taobao.arthas.core.command.express.Expres...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/GrpcJobController.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/GrpcJobController.java
package com.taobao.arthas.grpcweb.grpc.service; import com.taobao.arthas.core.advisor.TransformerManager; import com.taobao.arthas.grpcweb.grpc.observer.ArthasStreamObserver; import com.taobao.arthas.grpcweb.grpc.view.GrpcResultViewResolver; import java.lang.instrument.Instrumentation; import java.util.Map; import j...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java
package com.taobao.arthas.grpcweb.grpc.service.advisor; import com.alibaba.arthas.deps.org.slf4j.Logger; import com.alibaba.arthas.deps.org.slf4j.LoggerFactory; import com.alibaba.bytekit.asm.MethodProcessor; import com.alibaba.bytekit.asm.interceptor.InterceptorProcessor; import com.alibaba.bytekit.asm.interceptor.pa...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/WatchRpcAdviceListener.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/WatchRpcAdviceListener.java
package com.taobao.arthas.grpcweb.grpc.service.advisor; import com.alibaba.arthas.deps.org.slf4j.Logger; import com.alibaba.arthas.deps.org.slf4j.LoggerFactory; import com.taobao.arthas.core.advisor.AccessPoint; import com.taobao.arthas.core.advisor.Advice; import com.taobao.arthas.core.advisor.AdviceListenerAdapter; ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java
package com.taobao.arthas.grpcweb.grpc.service.advisor; import com.alibaba.arthas.deps.org.slf4j.Logger; import com.alibaba.arthas.deps.org.slf4j.LoggerFactory; import com.taobao.arthas.core.advisor.AdviceListener; import com.taobao.arthas.core.advisor.InvokeTraceable; import com.taobao.arthas.core.shell.system.ExecSt...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/AdviceListenerManager.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/AdviceListenerManager.java
package com.taobao.arthas.grpcweb.grpc.service.advisor; import com.alibaba.arthas.deps.org.slf4j.Logger; import com.alibaba.arthas.deps.org.slf4j.LoggerFactory; import com.taobao.arthas.common.concurrent.ConcurrentWeakKeyHashMap; import com.taobao.arthas.core.advisor.AdviceListener; import com.taobao.arthas.core.shell...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/model/WatchRequestModel.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/model/WatchRequestModel.java
package com.taobao.arthas.grpcweb.grpc.model; import io.arthas.api.ArthasServices.WatchRequest; import com.taobao.arthas.core.GlobalOptions; import com.taobao.arthas.core.advisor.AdviceListener; import com.taobao.arthas.core.advisor.AdviceWeaver; import com.taobao.arthas.core.util.SearchUtils; import com.taobao.arthas...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/model/WatchResponseModel.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/model/WatchResponseModel.java
package com.taobao.arthas.grpcweb.grpc.model; import com.taobao.arthas.core.command.model.WatchModel; public class WatchResponseModel extends WatchModel { private long resultId; public long getResultId() { return resultId; } public void setResultId(long resultId) { this.resultId = r...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/model/EnhancerRequestModel.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/model/EnhancerRequestModel.java
package com.taobao.arthas.grpcweb.grpc.model; import com.alibaba.arthas.deps.org.slf4j.Logger; import com.alibaba.arthas.deps.org.slf4j.LoggerFactory; import com.taobao.arthas.core.advisor.AdviceListener; import com.taobao.arthas.core.advisor.InvokeTraceable; import com.taobao.arthas.core.command.model.EnhancerModel; ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/observer/ArthasStreamObserver.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/observer/ArthasStreamObserver.java
package com.taobao.arthas.grpcweb.grpc.observer; import com.taobao.arthas.core.advisor.AdviceListener; import com.taobao.arthas.core.command.model.ResultModel; import com.taobao.arthas.core.shell.system.ExecStatus; import java.lang.instrument.ClassFileTransformer; import java.lang.instrument.Instrumentation; import j...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/observer/impl/ArthasStreamObserverImpl.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/observer/impl/ArthasStreamObserverImpl.java
package com.taobao.arthas.grpcweb.grpc.observer.impl; import io.arthas.api.ArthasServices.ResponseBody; import com.taobao.arthas.core.advisor.AdviceListener; import com.taobao.arthas.core.advisor.AdviceWeaver; import com.taobao.arthas.core.command.model.ResultModel; import com.taobao.arthas.core.command.model.StatusMo...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/observer/impl/GrpcProcess.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/observer/impl/GrpcProcess.java
package com.taobao.arthas.grpcweb.grpc.observer.impl; import com.taobao.arthas.core.shell.handlers.Handler; import com.taobao.arthas.core.shell.session.Session; import com.taobao.arthas.core.shell.system.ExecStatus; import com.taobao.arthas.core.shell.system.Process; import com.taobao.arthas.core.shell.term.Tty; impo...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/objectUtils/ComplexObject.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/objectUtils/ComplexObject.java
package com.taobao.arthas.grpcweb.grpc.objectUtils; import java.util.Collection; import java.util.List; import java.util.Map; // ComplexObject.java public class ComplexObject { private int id; private String name; private double value; private int[] numbers; private Long[] longNumbers; private ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/objectUtils/JavaObjectConverter.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/objectUtils/JavaObjectConverter.java
package com.taobao.arthas.grpcweb.grpc.objectUtils; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Map.Entry; import io.arthas.api.ArthasServices.ArrayElement; import io.arthas.api.A...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/distribution/GrpcResultDistributorImpl.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/distribution/GrpcResultDistributorImpl.java
package com.taobao.arthas.grpcweb.grpc.distribution; import com.taobao.arthas.core.command.model.ResultModel; import com.taobao.arthas.core.distribution.ResultDistributor; import com.taobao.arthas.grpcweb.grpc.observer.ArthasStreamObserver; import com.taobao.arthas.grpcweb.grpc.view.GrpcResultView; import com.taobao.a...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcPwdView.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcPwdView.java
package com.taobao.arthas.grpcweb.grpc.view; import io.arthas.api.ArthasServices.ResponseBody; import io.arthas.api.ArthasServices.StringStringMapValue; import com.taobao.arthas.core.command.model.PwdModel; import com.taobao.arthas.grpcweb.grpc.observer.ArthasStreamObserver; /** * @author xuyang 2023/8/15 */ public...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcStatusView.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcStatusView.java
package com.taobao.arthas.grpcweb.grpc.view; import io.arthas.api.ArthasServices.ResponseBody; import com.taobao.arthas.core.command.model.StatusModel; import com.taobao.arthas.grpcweb.grpc.observer.ArthasStreamObserver; /** * @author xuyang 2023/8/15 */ public class GrpcStatusView extends GrpcResultView<StatusMode...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcResultViewResolver.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcResultViewResolver.java
package com.taobao.arthas.grpcweb.grpc.view; import com.alibaba.arthas.deps.org.slf4j.Logger; import com.alibaba.arthas.deps.org.slf4j.LoggerFactory; import com.taobao.arthas.core.command.model.ResultModel; import com.taobao.arthas.grpcweb.grpc.observer.ArthasStreamObserver; import java.lang.reflect.Method; import ja...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcEnhancerView.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcEnhancerView.java
package com.taobao.arthas.grpcweb.grpc.view; import io.arthas.api.ArthasServices.ResponseBody; import com.taobao.arthas.core.command.model.EnhancerModel; import com.taobao.arthas.core.command.view.ViewRenderUtil; import com.taobao.arthas.grpcweb.grpc.observer.ArthasStreamObserver; /** * Term grpc view for EnhancerMo...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcMessageView.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcMessageView.java
package com.taobao.arthas.grpcweb.grpc.view; import io.arthas.api.ArthasServices.ResponseBody; import com.taobao.arthas.core.command.model.MessageModel; import com.taobao.arthas.grpcweb.grpc.observer.ArthasStreamObserver; public class GrpcMessageView extends GrpcResultView<MessageModel> { @Override public voi...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcSystemPropertyView.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcSystemPropertyView.java
package com.taobao.arthas.grpcweb.grpc.view; import io.arthas.api.ArthasServices.ResponseBody; import io.arthas.api.ArthasServices.StringStringMapValue; import com.taobao.arthas.core.command.model.SystemPropertyModel; import com.taobao.arthas.grpcweb.grpc.observer.ArthasStreamObserver; public class GrpcSystemProperty...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcWatchView.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcWatchView.java
package com.taobao.arthas.grpcweb.grpc.view; import com.taobao.arthas.core.view.ObjectView; import com.taobao.arthas.grpcweb.grpc.model.WatchRequestModel; import io.arthas.api.ArthasServices.JavaObject; import io.arthas.api.ArthasServices.ResponseBody; import io.arthas.api.ArthasServices.WatchResponse; import com.taob...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcResultView.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcResultView.java
package com.taobao.arthas.grpcweb.grpc.view; import com.taobao.arthas.core.command.model.ResultModel; import com.taobao.arthas.grpcweb.grpc.observer.ArthasStreamObserver; /** * Command result view for grpc client. * Note: Result view is a reusable and stateless instance * * @author xuyang 2023/8/15 */ public abs...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/server/GrpcServer.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/server/GrpcServer.java
package com.taobao.arthas.grpcweb.grpc.server; import arthas.VmTool; import com.alibaba.arthas.deps.org.slf4j.Logger; import com.alibaba.arthas.deps.org.slf4j.LoggerFactory; import com.taobao.arthas.common.SocketUtils; import com.taobao.arthas.core.advisor.TransformerManager; import com.taobao.arthas.grpcweb.grpc.serv...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/server/httpServer/NettyHttpServer.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/server/httpServer/NettyHttpServer.java
package com.taobao.arthas.grpcweb.grpc.server.httpServer; import com.alibaba.arthas.deps.org.slf4j.Logger; import com.alibaba.arthas.deps.org.slf4j.LoggerFactory; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.*; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioS...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/server/httpServer/NettyHttpInitializer.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/server/httpServer/NettyHttpInitializer.java
package com.taobao.arthas.grpcweb.grpc.server.httpServer; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; import io.netty.channel.socket.SocketChannel; import io.netty.handler.codec.http.HttpObjectAggregator; import io.netty.handler.codec.http.HttpServerCodec; import io.netty.hand...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/server/httpServer/NettyHttpStaticFileHandler.java
labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/server/httpServer/NettyHttpStaticFileHandler.java
package com.taobao.arthas.grpcweb.grpc.server.httpServer; import com.alibaba.arthas.deps.org.slf4j.Logger; import com.alibaba.arthas.deps.org.slf4j.LoggerFactory; import io.netty.channel.*; import io.netty.handler.codec.http.DefaultFullHttpResponse; import io.netty.handler.codec.http.DefaultHttpResponse; import io.ne...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/discovery/NativeAgentProxyDiscovery.java
labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/discovery/NativeAgentProxyDiscovery.java
package com.alibaba.arthas.nat.agent.management.web.discovery; import java.util.List; /** * @description: NativeAgentProyDiscovery * @author:flzjkl * @date: 2024-09-19 7:22 */ public interface NativeAgentProxyDiscovery { /** * list native agent proxy address * @param address register address *...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/discovery/impl/ZookeeperNativeAgentProxyDiscovery.java
labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/discovery/impl/ZookeeperNativeAgentProxyDiscovery.java
package com.alibaba.arthas.nat.agent.management.web.discovery.impl; import com.alibaba.arthas.nat.agent.common.constants.NativeAgentConstants; import com.alibaba.arthas.nat.agent.management.web.discovery.NativeAgentProxyDiscovery; import org.apache.zookeeper.Watcher; import org.apache.zookeeper.ZooKeeper; import java...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/discovery/impl/EtcdNativeAgentProxyDiscovery.java
labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/discovery/impl/EtcdNativeAgentProxyDiscovery.java
package com.alibaba.arthas.nat.agent.management.web.discovery.impl; import com.alibaba.arthas.nat.agent.common.constants.NativeAgentConstants; import com.alibaba.arthas.nat.agent.management.web.discovery.NativeAgentProxyDiscovery; import io.etcd.jetcd.ByteSequence; import io.etcd.jetcd.Client; import io.etcd.jetcd.KV;...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/NativeAgentManagementWebBootstrap.java
labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/NativeAgentManagementWebBootstrap.java
package com.alibaba.arthas.nat.agent.management.web.server; import com.alibaba.arthas.nat.agent.common.constants.NativeAgentConstants; import com.alibaba.arthas.nat.agent.common.utils.WelcomeUtil; import com.alibaba.arthas.nat.agent.management.web.server.http.HttpRequestHandler; import com.taobao.middleware.cli.CLI; ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpNativeAgentProxyHandler.java
labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpNativeAgentProxyHandler.java
package com.alibaba.arthas.nat.agent.management.web.server.http; import com.alibaba.arthas.nat.agent.management.web.discovery.NativeAgentProxyDiscovery; import com.alibaba.arthas.nat.agent.management.web.factory.NativeAgentProxyDiscoveryFactory; import com.alibaba.arthas.nat.agent.management.web.server.NativeAgentMana...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpRequestHandler.java
labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpRequestHandler.java
package com.alibaba.arthas.nat.agent.management.web.server.http; import com.alibaba.arthas.nat.agent.common.handler.HttpOptionRequestHandler; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import io.netty.handler.codec....
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpResourcesHandler.java
labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpResourcesHandler.java
package com.alibaba.arthas.nat.agent.management.web.server.http; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.handler.codec.http.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpNativeAgentHandler.java
labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpNativeAgentHandler.java
package com.alibaba.arthas.nat.agent.management.web.server.http; import com.alibaba.arthas.nat.agent.common.utils.OkHttpUtil; import com.alibaba.fastjson2.JSON; import com.alibaba.fastjson2.TypeReference; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.http...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/factory/NativeAgentProxyDiscoveryFactory.java
labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/factory/NativeAgentProxyDiscoveryFactory.java
package com.alibaba.arthas.nat.agent.management.web.factory; import com.alibaba.arthas.nat.agent.management.web.discovery.NativeAgentProxyDiscovery; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.lang.reflect.Constructor; import jav...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-common/src/main/java/com/alibaba/arthas/nat/agent/common/dto/NativeAgentInfoDTO.java
labs/cluster-management/native-agent-common/src/main/java/com/alibaba/arthas/nat/agent/common/dto/NativeAgentInfoDTO.java
package com.alibaba.arthas.nat.agent.common.dto; /** * @description: NativeAgentInfoDTO * @author:flzjkl * @date: 2024-09-05 8:04 */ public class NativeAgentInfoDTO { private String ip; private Integer httpPort; private Integer wsPort; public NativeAgentInfoDTO() { } public NativeAgentIn...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-common/src/main/java/com/alibaba/arthas/nat/agent/common/utils/WelcomeUtil.java
labs/cluster-management/native-agent-common/src/main/java/com/alibaba/arthas/nat/agent/common/utils/WelcomeUtil.java
package com.alibaba.arthas.nat.agent.common.utils; /** * @description: WelcomeUtil * @author:flzjkl * @date: 2024-09-22 18:26 */ public class WelcomeUtil { public static void printNativeAgentWelcomeMsg() { String welcomeMsg = " _ _ ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-common/src/main/java/com/alibaba/arthas/nat/agent/common/utils/OkHttpUtil.java
labs/cluster-management/native-agent-common/src/main/java/com/alibaba/arthas/nat/agent/common/utils/OkHttpUtil.java
package com.alibaba.arthas.nat.agent.common.utils; import okhttp3.*; import java.io.IOException; import java.util.concurrent.TimeUnit; /** * @description: OkHttpUtil * @author:flzjkl * @date: 2024-10-20 21:35 */ public class OkHttpUtil { private static final OkHttpClient client = new OkHttpClient.Builder() ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-common/src/main/java/com/alibaba/arthas/nat/agent/common/handler/HttpOptionRequestHandler.java
labs/cluster-management/native-agent-common/src/main/java/com/alibaba/arthas/nat/agent/common/handler/HttpOptionRequestHandler.java
package com.alibaba.arthas.nat.agent.common.handler; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.http.*; /** * @description: HttpOptionRequestHandler * @author:flzjkl * @date: 2024-09-22 7:21 */ public class HttpOptionRequestHandler { public F...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-common/src/main/java/com/alibaba/arthas/nat/agent/common/constants/NativeAgentConstants.java
labs/cluster-management/native-agent-common/src/main/java/com/alibaba/arthas/nat/agent/common/constants/NativeAgentConstants.java
package com.alibaba.arthas.nat.agent.common.constants; /** * @description: hello world * @author:flzjkl * @date: 2024-09-22 0:47 */ public class NativeAgentConstants { public static final int ARTHAS_SERVER_HTTP_PORT = 8563; public static final int MAX_HTTP_CONTENT_LENGTH = 1024 * 1024 * 10; public s...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/core/JvmAttachmentHandler.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/core/JvmAttachmentHandler.java
package com.alibaba.arthas.nat.agent.core; import com.alibaba.arthas.nat.agent.common.constants.NativeAgentConstants; import com.sun.tools.attach.AttachNotSupportedException; import com.sun.tools.attach.VirtualMachine; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import static com.al...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/core/ListJvmProcessHandler.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/core/ListJvmProcessHandler.java
package com.alibaba.arthas.nat.agent.core; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.lang.reflect.Method; import java.net.URL; import java.net.URLClassLoader; import java.util.Map; import static com.alibaba.arthas.nat.agent.core.ArthasHomeHandler.ARTHAS_HOME_DIR; /** ...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/core/ArthasHomeHandler.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/core/ArthasHomeHandler.java
package com.alibaba.arthas.nat.agent.core; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.net.URISyntaxException; import java.net.URL; /** * @description: find arthas home * @author:flzjkl * @date: 2024-07-27 9:12 */ public class ArthasHomeHandler { private static...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/core/MonitorTargetPidHandler.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/core/MonitorTargetPidHandler.java
package com.alibaba.arthas.nat.agent.core; import com.alibaba.arthas.nat.agent.common.constants.NativeAgentConstants; import com.taobao.arthas.common.SocketUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @description: monitor target pid * @author:flzjkl * @date: 2024-09-22 7:12 */ public cla...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/NativeAgentBootstrap.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/NativeAgentBootstrap.java
package com.alibaba.arthas.nat.agent.server; import com.alibaba.arthas.nat.agent.factory.NativeAgentRegistryFactory; import com.alibaba.arthas.nat.agent.registry.NativeAgentRegistry; import com.alibaba.arthas.nat.agent.core.ArthasHomeHandler; import com.alibaba.arthas.nat.agent.server.forward.ForwardClientSocketClient...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/dto/JavaProcessInfoDTO.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/dto/JavaProcessInfoDTO.java
package com.alibaba.arthas.nat.agent.server.dto; /** * @description: Java Process DTO * @author:flzjkl * @date: 2024-09-06 21:31 */ public class JavaProcessInfoDTO { private String processName; private Integer pid; public JavaProcessInfoDTO() { } public JavaProcessInfoDTO(String application...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/forward/RelayHandler.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/forward/RelayHandler.java
package com.alibaba.arthas.nat.agent.server.forward; import com.alibaba.arthas.tunnel.client.ChannelUtils; import io.netty.buffer.Unpooled; import io.netty.channel.Channel; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import io.netty.util.ReferenceCountUtil; impo...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/forward/LocalFrameHandler.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/forward/LocalFrameHandler.java
package com.alibaba.arthas.nat.agent.server.forward; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelPromise; import io.netty.channel.SimpleChannelInboundHandler; import io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler.ClientHandshakeStateEvent; import io.netty.handle...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/forward/ForwardClientSocketClientHandler.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/forward/ForwardClientSocketClientHandler.java
package com.alibaba.arthas.nat.agent.server.forward; import com.alibaba.arthas.nat.agent.common.constants.NativeAgentConstants; import com.taobao.arthas.common.ArthasConstants; import io.netty.bootstrap.Bootstrap; import io.netty.channel.*; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/http/HttpRequestHandler.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/http/HttpRequestHandler.java
package com.alibaba.arthas.nat.agent.server.http; import com.alibaba.arthas.nat.agent.common.handler.HttpOptionRequestHandler; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import io.netty.handler.codec.http.*; import...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/http/HttpNativeAgentHandler.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/http/HttpNativeAgentHandler.java
package com.alibaba.arthas.nat.agent.server.http; import com.alibaba.arthas.nat.agent.core.JvmAttachmentHandler; import com.alibaba.arthas.nat.agent.core.ListJvmProcessHandler; import com.alibaba.arthas.nat.agent.core.MonitorTargetPidHandler; import com.alibaba.arthas.nat.agent.server.dto.JavaProcessInfoDTO; import co...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/registry/NativeAgentRegistry.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/registry/NativeAgentRegistry.java
package com.alibaba.arthas.nat.agent.registry; /** * @description: Native agent client registry interface, easy to extend to other registry implementations * @author:flzjkl * @date: 2024-09-15 16:21 */ public interface NativeAgentRegistry { /** * Register native agent address to registry * * @p...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/registry/impl/ZookeeperNativeAgentRegistry.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/registry/impl/ZookeeperNativeAgentRegistry.java
package com.alibaba.arthas.nat.agent.registry.impl; import com.alibaba.arthas.nat.agent.common.constants.NativeAgentConstants; import com.alibaba.arthas.nat.agent.registry.NativeAgentRegistry; import org.apache.zookeeper.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent.CountDownL...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/registry/impl/EtcdNativeAgentRegistry.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/registry/impl/EtcdNativeAgentRegistry.java
package com.alibaba.arthas.nat.agent.registry.impl; import com.alibaba.arthas.nat.agent.common.constants.NativeAgentConstants; import com.alibaba.arthas.nat.agent.registry.NativeAgentRegistry; import io.etcd.jetcd.ByteSequence; import io.etcd.jetcd.Client; import io.etcd.jetcd.KV; import io.etcd.jetcd.Lease; import io...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/factory/NativeAgentRegistryFactory.java
labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/factory/NativeAgentRegistryFactory.java
package com.alibaba.arthas.nat.agent.factory; import com.alibaba.arthas.nat.agent.registry.NativeAgentRegistry; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.lang.reflect.Constructor; import java.util.Map; import java.util.concurre...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/discovery/NativeAgentDiscovery.java
labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/discovery/NativeAgentDiscovery.java
package com.alibaba.arthas.nat.agent.proxy.discovery; import java.util.Map; /** * @description: NativeAgentDiscovery * @author:flzjkl * @date: 2024-09-19 7:22 */ public interface NativeAgentDiscovery { /** * * @param address register address * @return Map<String, String> k: native agent client...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/discovery/impl/ZookeeperNativeAgentDiscovery.java
labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/discovery/impl/ZookeeperNativeAgentDiscovery.java
package com.alibaba.arthas.nat.agent.proxy.discovery.impl; import com.alibaba.arthas.nat.agent.common.constants.NativeAgentConstants; import com.alibaba.arthas.nat.agent.proxy.discovery.NativeAgentDiscovery; import org.apache.zookeeper.Watcher; import org.apache.zookeeper.ZooKeeper; import org.apache.zookeeper.data.St...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false
alibaba/arthas
https://github.com/alibaba/arthas/blob/17eb3c17e764728e6bf2cf3a37d56620e8835fd0/labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/discovery/impl/EtcdNativeAgentDiscovery.java
labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/discovery/impl/EtcdNativeAgentDiscovery.java
package com.alibaba.arthas.nat.agent.proxy.discovery.impl; import com.alibaba.arthas.nat.agent.common.constants.NativeAgentConstants; import com.alibaba.arthas.nat.agent.proxy.discovery.NativeAgentDiscovery; import io.etcd.jetcd.ByteSequence; import io.etcd.jetcd.Client; import io.etcd.jetcd.KV; import io.etcd.jetcd.K...
java
Apache-2.0
17eb3c17e764728e6bf2cf3a37d56620e8835fd0
2026-01-04T14:45:57.082411Z
false