public class CommandContext extends Object
| Constructor and Description |
|---|
CommandContext(String commandName) |
CommandContext(String commandName,
String[] args,
boolean isHttp) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getArgs() |
String |
getCommandName() |
Object |
getOriginRequest() |
io.netty.channel.Channel |
getRemote() |
boolean |
isHttp() |
void |
setArgs(String[] args) |
void |
setCommandName(String commandName) |
void |
setHttp(boolean http) |
void |
setOriginRequest(Object originRequest) |
void |
setRemote(io.netty.channel.Channel remote) |
public CommandContext(String commandName)
public String getCommandName()
public void setCommandName(String commandName)
public String[] getArgs()
public void setArgs(String[] args)
public io.netty.channel.Channel getRemote()
public void setRemote(io.netty.channel.Channel remote)
public boolean isHttp()
public void setHttp(boolean http)
public Object getOriginRequest()
public void setOriginRequest(Object originRequest)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.