Breakups and nudes

What can I do if my ex-boyfriend is threatening to post my nudes on the internet. I have texts messages from him stating that he will post them. Is it considered revenge porn?