public class LogoutResponse extends Object implements Response
| Constructor and Description |
|---|
LogoutResponse() |
LogoutResponse(int code) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getDeniedCause() |
int |
getResponseCode() |
void |
readExternal(ObjectInput in) |
void |
setDeniedCause(Throwable deniedCause) |
void |
setMetaData(ProtocolMetaData metaData)
Set the protocol metadata that can be used for version checking
|
void |
setResponseCode(int responseCode) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public LogoutResponse()
public LogoutResponse(int code)
public void setMetaData(ProtocolMetaData metaData)
ResponsesetMetaData in interface ResponsemetaData - ProtocolMetaDatapublic Throwable getDeniedCause()
public void setDeniedCause(Throwable deniedCause)
public int getResponseCode()
public void setResponseCode(int responseCode)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in interface ResponseIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in interface ResponseIOExceptionCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.