HttpsRequestHandler extends ProtocolMessageHandler<HttpsRequestMessage> { @Override public HttpsRequestParser getParser(byte[] message, int pointer) { return new HttpsRequestParser(pointer, message, tlsContext.getChooser().getSelectedProtocolVersion(), tlsContext.getConfig()); } HttpsRequestHandler(TlsContext tlsContext); @Override HttpsRequestParser getParser(byte[] message, int pointer); @Override HttpsRequestPreparator getPreparator(HttpsRequestMessage message); @Override HttpsRequestSerializer getSerializer(HttpsRequestMessage message); @Override void adjustTLSContext(HttpsRequestMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[1], 0) instanceof HttpsRequestParser); }