mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
refactor: rename webflux
This commit is contained in:
@@ -2,7 +2,6 @@ package com.reajason.javaweb;
|
||||
|
||||
import com.reajason.javaweb.memshell.AbstractShell;
|
||||
import com.reajason.javaweb.memshell.SpringWebFluxShell;
|
||||
import com.reajason.javaweb.memshell.WebSphereShell;
|
||||
import com.reajason.javaweb.memshell.config.*;
|
||||
import com.reajason.javaweb.memshell.packer.Packer;
|
||||
import com.reajason.javaweb.memshell.utils.CommonUtil;
|
||||
@@ -12,8 +11,6 @@ import org.apache.commons.codec.binary.Base64;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
|
||||
/**
|
||||
* @author ReaJason
|
||||
@@ -23,7 +20,7 @@ public class GeneratorMain {
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
ShellConfig shellConfig = ShellConfig.builder()
|
||||
.server(Server.SpringWebflux)
|
||||
.server(Server.SpringWebFlux)
|
||||
.shellTool(ShellTool.Godzilla)
|
||||
.shellType(SpringWebFluxShell.NETTY_HANDLER)
|
||||
.targetJreVersion(Opcodes.V1_8)
|
||||
|
||||
@@ -36,9 +36,9 @@ public enum Server {
|
||||
SpringWebMvc(new SpringWebMvcShell()),
|
||||
|
||||
/**
|
||||
* Spring Webflux 框架
|
||||
* Spring WebFlux 框架
|
||||
*/
|
||||
SpringWebflux(new SpringWebFluxShell()),
|
||||
SpringWebFlux(new SpringWebFluxShell()),
|
||||
|
||||
/**
|
||||
* WebSphere 中间件
|
||||
|
||||
@@ -71,7 +71,7 @@ public class CommonUtil {
|
||||
case Jetty -> "org.eclipse.jetty.servlet.handlers";
|
||||
case Undertow, JBossEAP7, WildFly -> "io.undertow.servlet.handlers";
|
||||
case SpringWebMvc -> "org.springframework.boot.mvc.handlers";
|
||||
case SpringWebflux -> "org.springframework.boot.webflux.handlers";
|
||||
case SpringWebFlux -> "org.springframework.boot.webflux.handlers";
|
||||
case WebSphere -> "com.ibm.ws.webcontainer.handlers";
|
||||
case WebLogic -> "weblogic.servlet.internal.handlers";
|
||||
case Resin -> "com.caucho.server.dispatch.handlers";
|
||||
|
||||
Reference in New Issue
Block a user