Spot the Signs. You may receive this reaction if you're a high_ranking executive or director. These positions can be difficult to replace quickly, so it may be worth it to your company to tempt you to stay rather than letting you go without a fight. It can also happen if you have extremely specialized knowledge that would make it challenging to replace you. On the other hand, if you're in an entry_ or mid_level position, and someone could be hired into your position without much trouble, it's less likely your boss will put up a fight__and a counteroffer.
You'll have plenty of time to vent personally about your work grievances as you leave, but really, you stand to gain nothing by putting negativity into your resignation letter. And unless you're leaving the state and your current industry, you always run the risk of running into the same people later on. So you're far better off taking the high road and making sure your exit is a classy one.