public void handle()

in folsom/src/main/java/com/spotify/folsom/client/ascii/DeleteRequest.java [51:68]


  public void handle(final AsciiResponse response, final HostAndPort server) throws IOException {
    switch (response.type) {
      case DELETED:
        succeed(MemcacheStatus.OK);
        return;
      case NOT_FOUND:
        succeed(MemcacheStatus.KEY_NOT_FOUND);
        return;
      case CLIENT_ERROR:
        MemcacheAuthenticationException exception =
            new MemcacheAuthenticationException(
                "Authentication required by server. Client not authenticated.");
        fail(exception, server);
        return;
      default:
        throw new IOException("Unexpected response type: " + response.type);
    }
  }