title: How can I opt NOT to respond to a request in a Java webservice?
body: <p>Suppose we have a webservice request we don't even want to dignify with a response:</p>
  
  <pre><code>@WebMethod(operationName = "doSomethingForNicePeopleOnly")
  public String doSomethingForNicePeopleOnly(@WebParam(name="username") String user) {
      if (userIsNice(user)) {
        return "something nice";
      } else {
        // I'd prefer not to return anything at all, not even a 404...
      }
  }
  </code></pre>
  
  <p>What is the best technique for not responding to a given Java webservice request?</p>