📄 mexample3.java
字号:
package net.jumperz.app.MGuardian.plugin;
import java.io.*;
import java.util.*;
import net.jumperz.net.*;
/**
* Plugin example
* This simple plugin creates an HTTP response
*/
public class MExample3
extends MGuardianPlugin
{
//--------------------------------------------------------------------------------
public Map execute( Map sessionInfo )
throws IOException
{
MHttpResponse response = new MHttpResponse();
response.setBody( "Hello Guardian Plugin." );
Map pluginResult = new HashMap();
pluginResult.put( "response", response );
return pluginResult;
}
//--------------------------------------------------------------------------------
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -