How to explicitly terminate http connection from server with no response header
- by Gagandip
I am developing a server simulator for one of my client application. I am using GlassFish server. I have to simulate a http connection terminate condition in my server application.
Is there a way by which I can explicitly terminate a connection from server side such that client does not receive any response header. Currently I have tried many…