public class CloseReason
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
CloseReason.CloseCode |
static class |
CloseReason.CloseCodes |
Constructor and Description |
---|
CloseReason(CloseReason.CloseCode closeCode,
java.lang.String reasonPhrase) |
Modifier and Type | Method and Description |
---|---|
CloseReason.CloseCode |
getCloseCode() |
java.lang.String |
getReasonPhrase() |
java.lang.String |
toString() |
public CloseReason(CloseReason.CloseCode closeCode, java.lang.String reasonPhrase)
public CloseReason.CloseCode getCloseCode()
public java.lang.String getReasonPhrase()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.