It is hard to say how much should one be able to take before feeling hurt, and how hurt should one feel before reacting.
I think what many people don't realize is that confidence isn't something people can be born with and something certain people just have. I think true confidence can only come much later in life and most people don't even know what it is.
Till then we have ego. For me it used to be pure ego balance. If I get my ego well fed one remark wont bring me down too low. If my ego is low, one little thing becomes the final straw (I am not saying that's all there is, but in situations like getting hurt over something we don't even care about etc).
And ego is a very fragile thing. We try to have a good idea of who we are but it doesn't seem like something easy to comprehend so we get identified based on the world outside and their perceptions and reactions.
If their responses seem to make us different then the person we would want to be seen as, it can hurt terribly. Despite all the clever sayings about being who we are etc, we are hugely defined by our surroundings and it can hurt us to the point that we don't even have the ability to change, cause others perceptions keep us trapped. And while trapped, more and more perceive the same.
However I am well aware the problem is much deeper then what I just wrote. Ill tell you what I do even though I don't know how healthy it is.
I create a world inside my head where I make characters of myself. Im not split personality but it keeps me being myself while adjusting to situations. I can make a persona who is not taking anything seriously and use it when the occasion is right (or the rational persona etc) and then put it aside when it isn't. Doesn't work every time, but it can help. And then knowing that I have the ability to shut parts of me on and off gives me some coping method, sometimes changes the response of my surroundings at least to the point where I handle them better.
If I am just being myself its this big contradictory unpredictable mess of things I assume we all are made off. But if I reduce myself to characters in bad situations I have more control, I can focus better, I can react the way I want then.