public class ProxyResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ProxyResult.ProxyStatus |
Constructor and Description |
---|
ProxyResult(ProxyResult.ProxyStatus status,
boolean keepAlive) |
ProxyResult(ProxyResult.ProxyStatus status,
boolean keepAlive,
java.lang.String failureMessage) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFailureMessage() |
ProxyResult.ProxyStatus |
getStatus() |
boolean |
isKeepAlive() |
boolean |
isSuccess() |
void |
setFailureMessage(java.lang.String failureMessage) |
void |
setKeepAlive(boolean keepAlive) |
void |
setStatus(ProxyResult.ProxyStatus status) |
java.lang.String |
toString() |
public ProxyResult(ProxyResult.ProxyStatus status, boolean keepAlive)
public ProxyResult(ProxyResult.ProxyStatus status, boolean keepAlive, java.lang.String failureMessage)
public boolean isSuccess()
public ProxyResult.ProxyStatus getStatus()
public void setStatus(ProxyResult.ProxyStatus status)
public boolean isKeepAlive()
public void setKeepAlive(boolean keepAlive)
public java.lang.String getFailureMessage()
public void setFailureMessage(java.lang.String failureMessage)
public java.lang.String toString()
toString
in class java.lang.Object