/** * Returns the metadata MIME-type, decoded at {@link StandardCharsets#UTF_8}. * * @return the metadata MIME-type, decoded as {@link StandardCharsets#UTF_8} */ public String getMetadataMimeType() { return getMetadataMimeType(UTF_8); }
/** * Returns the metadata MIME-type, decoded at {@link StandardCharsets#UTF_8}. * * @return the metadata MIME-type, decoded as {@link StandardCharsets#UTF_8} */ public String getMetadataMimeType() { return getMetadataMimeType(UTF_8); }
@Override public String toString() { return "SetupFrame{" + "lease=" + isLeaseFlagSet() + ", majorVersion=" + getMajorVersion() + ", minorVersion=" + getMinorVersion() + ", keepAliveInterval=" + getKeepAliveInterval() + ", maxLifetime=" + getMaxLifetime() + ", resumeIdentificationToken=" + mapResumeIdentificationToken(ByteBufUtil::hexDump) + ", metadataMimeType=" + getMetadataMimeType() + ", dataMimeType=" + getDataMimeType() + ", metadata=" + mapMetadata(ByteBufUtil::hexDump) + ", data=" + mapData(ByteBufUtil::hexDump) + '}'; }
@Override public String toString() { return "SetupFrame{" + "lease=" + isLeaseFlagSet() + ", majorVersion=" + getMajorVersion() + ", minorVersion=" + getMinorVersion() + ", keepAliveInterval=" + getKeepAliveInterval() + ", maxLifetime=" + getMaxLifetime() + ", resumeIdentificationToken=" + mapResumeIdentificationToken(ByteBufUtil::hexDump) + ", metadataMimeType=" + getMetadataMimeType() + ", dataMimeType=" + getDataMimeType() + ", metadata=" + mapMetadata(ByteBufUtil::hexDump) + ", data=" + mapData(ByteBufUtil::hexDump) + '}'; }