protected abstract boolean handleBeforeHeader(ByteBuffer resource, Http2FrameHeaderParser header);
HeaderMap getHeaderMap() {
return headerMap;
}
@Override
<BUG>public void emitHeader(HttpString name, String value, boolean neverIndex) throws HpackException {
headerMap.add(name, value);</BUG>
if(name.length() == 0) {
throw UndertowMessages.MESSAGES.invalidHeader();
}

protected abstract boolean handleBeforeHeader(ByteBuffer resource, Http2FrameHeaderParser header);
HeaderMap getHeaderMap() {
return headerMap;
}
@Override
public void emitHeader(HttpString name, String value, boolean neverIndex) throws HpackException {
if(maxHeaders > 0 && headerMap.size() > maxHeaders) {
return;
}
headerMap.add(name, value);
if(name.length() == 0) {
throw UndertowMessages.MESSAGES.invalidHeader();
}
