Duvida entre jersey 1. e jersey 2.5

Como eu faria isso no jersey 2.5?

    String sUrl = urlPar + "/message";
    WebResource resource = client.resource(sUrl);

        MultiPart multipartEntity = null;
        if (action.equalsIgnoreCase("TEXT")) {
            multipartEntity = new FormDataMultiPart()
                    .field("fLogin", login)
                    .field("ACTION", action)
                    .field("destination", numero2)
                    .field("text", smsg);

        ClientResponse clientResponse
                = resource.accept("application/json")
                        .type(MediaType.MULTIPART_FORM_DATA)
                        .post(ClientResponse.class, multipartEntity);