This commit is contained in:
地平线
2015-09-10 09:18:26 +08:00
parent 79ef805a42
commit 66ab7c2667

View File

@@ -7,6 +7,7 @@ package com.wentch.redkale.net.http;
import com.wentch.redkale.util.Utility;
import java.io.*;
import java.util.*;
/**
*
@@ -112,4 +113,8 @@ public final class WebSocketPacket {
return last;
}
@Override
public String toString() {
return this.getClass().getSimpleName() + "[type=" + type + ", last=" + last + (payload != null ? (", payload=" + payload) : "") + (bytes != null ? (", bytes=" + Arrays.toString(bytes)) : "") + "]";
}
}