com.alibaba.dubbo.qos.command
Class CommandContext

java.lang.Object
  extended by com.alibaba.dubbo.qos.command.CommandContext

public class CommandContext
extends Object

Author:
qinliujie

Constructor Summary
CommandContext(String commandName)
           
CommandContext(String commandName, String[] args, boolean isHttp)
           
 
Method Summary
 String[] getArgs()
           
 String getCommandName()
           
 Object getOrginRequest()
           
 io.netty.channel.Channel getRemote()
           
 boolean isHttp()
           
 void setArgs(String[] args)
           
 void setCommandName(String commandName)
           
 void setHttp(boolean http)
           
 void setOrginRequest(Object orginRequest)
           
 void setRemote(io.netty.channel.Channel remote)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandContext

public CommandContext(String commandName)

CommandContext

public CommandContext(String commandName,
                      String[] args,
                      boolean isHttp)
Method Detail

getCommandName

public String getCommandName()

setCommandName

public void setCommandName(String commandName)

getArgs

public String[] getArgs()

setArgs

public void setArgs(String[] args)

getRemote

public io.netty.channel.Channel getRemote()

setRemote

public void setRemote(io.netty.channel.Channel remote)

isHttp

public boolean isHttp()

setHttp

public void setHttp(boolean http)

getOrginRequest

public Object getOrginRequest()

setOrginRequest

public void setOrginRequest(Object orginRequest)


Copyright © 2012–2017 Alibaba. All rights reserved.