641642643644645646647648649650651
TemporaryData serialized = (TemporaryData) msgContext.getProperty(NhttpConstants.SERIALIZED_BYTES); try { serialized.writeTo(out); } finally { serialized.release(); } } /** * Determine the HttpStatusCodedepending on the message type processed <br>
7071727374757677787980
assertEquals(data2.length, offset); in.close(); assertTrue(Arrays.equals(data, data2)); } finally { tmp.release(); } } public void testRandomReadWriteInMemory() throws IOException { doTestRandomReadWrite(10000);
119120121122123124125126127128129
finally { in.close(); } } finally { tmp.release(); } } public void testReadFromInMemory() throws IOException { testReadFrom(10000);
644645646647648649650651652653654