HttpsRequestHandler extends ProtocolMessageHandler<HttpsRequestMessage> { @Override public void adjustTLSContext(HttpsRequestMessage message) { tlsContext.getHttpContext().setLastRequestPath(message.getRequestPath().getValue()); } 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 testAdjustTLSContext() { handler.adjustTLSContext(message); assertEquals(context.getHttpContext().getLastRequestPath(), message.getRequestPath().getValue()); }