Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
properties |
protected Request |
request |
protected Rule |
rule |
Constructor and Description |
---|
AbstractExchange() |
AbstractExchange(AbstractExchange original)
For HttpResendRunnable
|
public AbstractExchange()
public AbstractExchange(AbstractExchange original)
original
- public ExchangeState getStatus()
public Calendar getTime()
public void setTime(Calendar time)
public Request getRequest()
public void setRequest(Request request)
public Response getResponse()
public void setResponse(Response res)
public Rule getRule()
public void setRule(Rule rule)
public void addExchangeViewerListener(IExchangeViewerListener viewer)
public void removeExchangeViewerListener(IExchangeViewerListener viewer)
public void addExchangeStoreListener(IExchangesStoreListener viewer)
public void removeExchangeStoreListener(IExchangesStoreListener viewer)
public void setCompleted()
public void setStopped()
public void finishExchange(boolean refresh)
public void finishExchange(boolean refresh, String errmsg)
public boolean isForcedToStop()
public String getErrorMessage()
public void setErrorMessage(String errMessage)
public void informExchangeViewerOnRemoval()
public void setReceived()
public long getTimeReqSent()
public void setTimeReqSent(long tReqSent)
public long getTimeReqReceived()
public void setTimeReqReceived(long tReqReceived)
public void received()
public long getTimeResSent()
public void setTimeResSent(long tResSent)
public long getTimeResReceived()
public void setTimeResReceived(long tResReceived)
public String getOriginalRequestUri()
public void setOriginalRequestUri(String requestUri)
public String getServer()
public int getResponseContentLength()
public int getRequestContentLength()
public String getRequestContentType()
public String getResponseContentType()
public String getSourceHostname()
public void setSourceHostname(String sourceHostname)
public String getSourceIp()
public void setSourceIp(String sourceIp)
public void pushInterceptorToStack(Interceptor i)
public Interceptor popInterceptorFromStack()
Copyright © 2012. All Rights Reserved.