|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alipay.remoting.DefaultBizContext
public class DefaultBizContext
default biz context
| Constructor Summary | |
|---|---|
DefaultBizContext(RemotingContext remotingCtx)
Constructor with RemotingContext |
|
| Method Summary | |
|---|---|
String |
get(String key)
get value |
long |
getArriveTimestamp()
get the arrive time stamp |
int |
getClientTimeout()
get the timeout value from rpc client. |
Connection |
getConnection()
get the connection of this request |
InvokeContext |
getInvokeContext()
get invoke context. |
String |
getRemoteAddress()
get remote address |
String |
getRemoteHost()
get remote host ip |
int |
getRemotePort()
get remote port |
protected RemotingContext |
getRemotingCtx()
get remoting context |
boolean |
isRequestTimeout()
check whether request already timeout |
void |
put(String key,
String value)
put a key and value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultBizContext(RemotingContext remotingCtx)
remotingCtx - | Method Detail |
|---|
protected RemotingContext getRemotingCtx()
public String getRemoteAddress()
BizContext
getRemoteAddress in interface BizContextBizContext.getRemoteAddress()public String getRemoteHost()
BizContext
getRemoteHost in interface BizContextBizContext.getRemoteHost()public int getRemotePort()
BizContext
getRemotePort in interface BizContextBizContext.getRemotePort()public Connection getConnection()
BizContext
getConnection in interface BizContextBizContext.getConnection()public boolean isRequestTimeout()
BizContext
isRequestTimeout in interface BizContextBizContext.isRequestTimeout()public int getClientTimeout()
getClientTimeout in interface BizContextpublic long getArriveTimestamp()
getArriveTimestamp in interface BizContext
public void put(String key,
String value)
BizContext
put in interface BizContextBizContext.put(java.lang.String, java.lang.String)public String get(String key)
BizContext
get in interface BizContextBizContext.get(java.lang.String)public InvokeContext getInvokeContext()
BizContext
getInvokeContext in interface BizContextBizContext.getInvokeContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||